summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-01-21 12:01:47 -0500
committergit <svn-admin@ruby-lang.org>2025-01-21 17:02:18 +0000
commitbe6644831146dcdbb1daeb124bcdda65e93c5201 (patch)
tree3c72f6e03c203c18ae00d0fe1ad0e37e1b1a633a /test
parent6d806031edb14ffe19d80973ea5668decebccac5 (diff)
[ruby/mmtk] Bump mmtk-core
Fixes a bug where there is an infinite loop when MMTK_HEAP_MIN is small. https://github.com/ruby/mmtk/commit/12c7ede20b
Diffstat (limited to 'test')
-rw-r--r--test/mmtk/test_configuration.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/mmtk/test_configuration.rb b/test/mmtk/test_configuration.rb
index 88ae429e90..bde3366fa7 100644
--- a/test/mmtk/test_configuration.rb
+++ b/test/mmtk/test_configuration.rb
@@ -34,10 +34,9 @@ module MMTk
assert_equal(1 * 1024 * 1024, GC.config[:mmtk_heap_min])
RUBY
- # TODO: uncomment this test when the infinite loop is fixed
- # assert_separately([{ "MMTK_HEAP_MODE" => "dynamic", "MMTK_HEAP_MIN" => "1" }], <<~RUBY)
- # assert_equal(1, GC.config[:mmtk_heap_min])
- # RUBY
+ assert_separately([{ "MMTK_HEAP_MODE" => "dynamic", "MMTK_HEAP_MIN" => "1" }], <<~RUBY)
+ assert_equal(1, GC.config[:mmtk_heap_min])
+ RUBY
assert_separately([{ "MMTK_HEAP_MODE" => "dynamic", "MMTK_HEAP_MIN" => "10MiB", "MMTK_HEAP_MAX" => "1GiB" }], <<~RUBY)
assert_equal(10 * 1024 * 1024, GC.config[:mmtk_heap_min])