RFR: 8309048: Remove malloc locker test case

Coleen Phillimore coleenp at openjdk.org
Tue May 30 19:06:54 UTC 2023


On Mon, 29 May 2023 13:14:24 GMT, Leo Korinth <lkorinth at 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


More information about the hotspot-dev mailing list