On Tue, 10 May 2022 19:21:44 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

>> The test failed if GC happens somewhere between
>> Class<?> c = Class.forName("TestClass", true, dummyloader);
>> and
>> OutputAnalyzer output = executor.execute("VM.classloader_stats");
>> 
>> The fix is to make hc static as Chris proposed. 
>> 
>> To verfiy fix I add System.gc() before 
>> executor.execute("VM.classloader_stats");
>
> Leonid Mesnik has updated the pull request with a new target base due to a 
> merge or a rebase. The incremental webrev excludes the unrelated changes 
> brought in by the merge/rebase. The pull request contains seven additional 
> commits since the last revision:
> 
>  - test excluded
>  - Merge branch 'master' of https://github.com/openjdk/jdk into 8278123
>  - Merge branch 'master' of https://github.com/openjdk/jdk into 8278123
>  - Merge branch 'master' of https://github.com/openjdk/jdk into 8278123
>  - comment fixed
>  - Merge branch 'master' of https://github.com/openjdk/jdk into 8278123
>  - fix

Marked as reviewed by cjplummer (Reviewer).

-------------

PR: https://git.openjdk.java.net/jdk/pull/8438

Reply via email to