On Mon, 29 May 2023 13:14:24 GMT, Leo Korinth <lkori...@openjdk.org> wrote:
> There is a bunch of tests that are used to test critical section/gc locker. > One of the test is named malloc. In that test, JNI code is doing a loop of > `malloc()` followed `sleep()` followed by a `free()`. There is no JVM lock > implementation to be tested on malloc/free. Let us save test time, code > complexity and confusion by removing this test. > > (Oracle) hs-tier5 testing passed on x86-64. This looks like a nice cleanup. I think we should migrate these tests into the tests/hotspot/gc directory and reconcile duplicates with other tests that do the same thing. This could be a future RFE/improvement. ------------- Marked as reviewed by coleenp (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/14201#pullrequestreview-1451637547