RFR: 8256811: Delayed/missed jdwp class unloading events [v9]
Zhengyu Gu
zgu at openjdk.org
Thu Jun 30 14:59:56 UTC 2022
On Wed, 29 Jun 2022 22:46:30 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> I just noticed the test is being added to a newly created hotspot/jtreg/serviciability/jdi directory. It should be placed in one of the existing jdi test locations, either nsk/jdi or jdk/com/sun/jdi. I think the latter would be better and it can leverage TestScaffold.
>
> Another reason to use TestScaffold is that it will automatically add any specified VM options to the debuggee:
>
> ```
> String vmOpts = System.getProperty("test.vm.opts");
> System.out.println("vmOpts: '" + vmOpts + "'");
> ```
>
> This way when we do our testing with various GC configurations, it should end up testing the debuggee with each GC configuration also. Same goes with other VM options that get tested like -Xcomp.
Moved new test to jdk/com/sun/jdi.
-------------
PR: https://git.openjdk.org/jdk/pull/9168
More information about the serviceability-dev
mailing list