20 Commits
Author SHA1 Message Date
Peter Zhu 1f717ae3d6 [ruby/mmtk] Always use fixed heap for testing against NoGC
https://github.com/ruby/mmtk/commit/3f94f904eb
2026-09-21 16:59:35 +00:00
Peter Zhu 3ca77abb61 Drop MMTK_HEAP_MAX in test_oom
Sync ruby/mmtk@11ea3a437f.
2026-07-29 11:03:30 -04:00
Peter Zhu ae86855622 Sync test directory from ruby/mmtk directory 2026-07-24 18:04:21 -04:00
Koichi Sasada 1ce10f3fbb do not reset EnvUtil.timeout_scale
Even if `setup` is omitted, but `teardown` is called and
`EnvUtil.timeout_scale` was reset with `nil`.
2025-03-05 05:45:54 +09:00
Peter Zhu 50469809b8 [ruby/mmtk] Use RUBY_TEST_TIMEOUT_SCALE for tests
RUBY_TEST_TIMEOUT_SCALE is set for debug builds because they are slower
to run. We should respect this environment variable in MMTk tests too.

https://github.com/ruby/mmtk/commit/0a66c518bf
2025-02-10 19:33:04 +00:00
Peter Zhu be66448311 [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
2025-01-21 17:02:18 +00:00
Peter Zhu 6d806031ed [ruby/mmtk] Add tests for MMTK_HEAP_MIN
https://github.com/ruby/mmtk/commit/a725b95f51
2025-01-21 17:02:17 +00:00
Peter Zhu 5fceba6614 [ruby/mmtk] Add mmtk_heap_max to GC.config
https://github.com/ruby/mmtk/commit/6a78ffaf16
2025-01-17 15:44:24 +00:00
Peter Zhu 179899c616 [ruby/mmtk] Add mmtk_heap_min to GC.config
https://github.com/ruby/mmtk/commit/5bbac70c69
2025-01-16 21:40:31 +00:00
Peter Zhu d05f6a9b8f [ruby/mmtk] Add NoGC back to MMTK_PLAN test
https://github.com/ruby/mmtk/commit/89f8b8be04
2025-01-16 16:20:06 +00:00
Peter Zhu 2538f4d521 [ruby/mmtk] Add mmtk_heap_mode to GC.config
https://github.com/ruby/mmtk/commit/810f897603
2025-01-16 16:20:04 +00:00
Peter Zhu ab1565ebe3 [ruby/mmtk] Add mmtk_plan to GC.config
https://github.com/ruby/mmtk/commit/67da9ea5b8
2025-01-15 18:08:03 +00:00
Peter Zhu f1e32914eb [ruby/mmtk] Add mmtk_worker_count to GC.config
https://github.com/ruby/mmtk/commit/836a9059cb
2025-01-14 20:59:39 +00:00
Peter Zhu f5fa1ee5f6 [ruby/mmtk] Exit with error message if MMTK_PLAN is invalid
https://github.com/ruby/mmtk/commit/79ce2008a3
2025-01-14 17:17:44 +00:00
Peter Zhu 2bcbc80fa2 [ruby/mmtk] Exit with error message if MMTK_HEAP_MODE is invalid
https://github.com/ruby/mmtk/commit/c8b1f4c156
2025-01-14 17:07:21 +00:00
Peter Zhu f627e05d14 [ruby/mmtk] Add tests for when MMTK_HEAP_MIN >= MMTK_HEAP_MAX
https://github.com/ruby/mmtk/commit/65b34b5e86
2025-01-14 17:07:21 +00:00
Peter Zhu e2f0769ca2 [ruby/mmtk] Also test invalid values for MMTK_HEAP_MIN and MMTK_HEAP_MAX
https://github.com/ruby/mmtk/commit/90f1aa8d76
2025-01-14 17:07:20 +00:00
Peter Zhu cf4d848cad [ruby/mmtk] Add framework for tests
https://github.com/ruby/mmtk/commit/6d94549fc7
2025-01-14 16:18:52 +00:00
Peter Zhu 5f3d1eeb55 [ruby/mmtk] Remove accidentally committed files
https://github.com/ruby/mmtk/commit/154a038293
2025-01-13 20:11:06 +00:00
Peter Zhu f821a127ea [ruby/mmtk] Exit with error message if MMTK_HEAP_MIN is invalid
https://github.com/ruby/mmtk/commit/1d2f7b9cfc
2025-01-13 20:08:20 +00:00