RFR: 8289184: runtime/ClassUnload/DictionaryDependsTest.java failed with "Test failed: should be unloaded"
Leonid Mesnik
lmesnik at openjdk.org
Sat Jul 9 04:43:03 UTC 2022
On Fri, 8 Jul 2022 21:49:38 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Some allocation and System.gc() isn't sufficient to cause class unloading. It works almost all the time, but it's better to call WhiteBox.fullGC() from ClassUnloadCommon.triggerUnloading(). This requires building and copying WhiteBox classes to the test.classes directory.
> Tested with tier1-4.
Marked as reviewed by lmesnik (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/9435
More information about the hotspot-runtime-dev
mailing list