[jdk20] RFR: 8298162: Test PrintClasses hits assert when run with code that retransform classes [v2]
Coleen Phillimore
coleenp at openjdk.org
Tue Dec 20 02:58:10 UTC 2022
On Tue, 20 Dec 2022 02:06:30 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Add requires vm.hasJFR
>
> test/hotspot/jtreg/runtime/CommandLine/PrintClasses.java line 38:
>
>> 36: * @summary Test jcmd VM.classes
>> 37: * @library /test/lib
>> 38: * @run main/othervm -XX:StartFlightRecording PrintClasses
>
> I think if you want to run JFR you also need:
>
> * @requires vm.hasJFR
> ```
> and possibly:
>
> * @key jfr
Thanks David. I copied that line from another test then forgot to put it in mine. I don't see any other @key jfr tests in the runtime directory so I'm not sure I need that.
-------------
PR: https://git.openjdk.org/jdk20/pull/57
More information about the hotspot-runtime-dev
mailing list