RFR: 8303921: serviceability/sa/UniqueVtableTest.java timed out
Alex Menkov
amenkov at openjdk.org
Tue Mar 14 23:27:45 UTC 2023
On Tue, 14 Mar 2023 23:07:13 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:
>> The change:
>> - updates UniqueVtableTest to follow standard SA way - attach to target from subprocess and use SATestUtils.addPrivilegesIfNeeded for the subprocess;
>> - updates several tests in the same directory to resolve NoClassDefFoundError failures; It's known JTReg issue that "@build" actions for part of used shared classes may cause intermittent NoClassDefFoundError in other tests which use the same shared library classpath.
>>
>> Tested: 100 runs on all platforms, no failures
>
> test/hotspot/jtreg/serviceability/sa/UniqueVtableTest.java line 34:
>
>> 32: * jdk.hotspot.agent/sun.jvm.hotspot.types.basic
>> 33: *
>> 34: * @run driver UniqueVtableTest
>
> The other tests you touched in this PR use:
> `@run main/othervm ...`
> so why did this one have to change to:
> `@run driver ...`
Due changes in the test it doesn't need to be run in "othervm" mode, "driver" is ok now to make the test a bit faster
I didn't change mode other for other tests
-------------
PR: https://git.openjdk.org/jdk/pull/13030
More information about the serviceability-dev
mailing list