RFR: 8370732: vmTestbase/nsk/jvmti/AttachOnDemand/attach020/TestDescription.java intermittent fails [v7]

SendaoYan syan at openjdk.org
Thu Oct 30 03:57:24 UTC 2025


On Thu, 30 Oct 2025 02:53:24 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

>> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove unnecessary try/catch and loop
>
> test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach022/attach022Target.java line 51:
> 
>> 49: 
>> 50:             log.display("Provoking GC");
>> 51:             WhiteBox.getWhiteBox().fullGC();
> 
> Please also remove lines
> `import nsk.share.ClassUnloader;`
> ssince this class is not using anymore.

Thanks for the patient reviews. The unnecessary 'import nsk.share.ClassUnloader;' has been removed from 3 files
test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach020/attach020Target.java
test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach021/attach021Target.java
test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach022/attach022Target.java

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28011#discussion_r2476333212


More information about the hotspot-gc-dev mailing list