RFR: 8289184: runtime/ClassUnload/DictionaryDependsTest.java failed with "Test failed: should be unloaded"
Harold Seigel
hseigel at openjdk.org
Mon Jul 11 15:38: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.
LGTM! Thanks for fixing this.
Harold
-------------
Marked as reviewed by hseigel (Reviewer).
PR: https://git.openjdk.org/jdk/pull/9435
More information about the hotspot-runtime-dev
mailing list