RFR: 8263636: Add --disableregistry option to jhsdb debugd [v2]
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Tue Apr 6 00:59:39 UTC 2021
On Mon, 5 Apr 2021 20:50:30 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
>> Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Fix comments
>
> test/hotspot/jtreg/serviceability/sa/sadebugd/DebugdRmidTest.java line 51:
>
>> 49: JDKToolLauncher rmidLauncher = JDKToolLauncher.createUsingTestJDK("rmid");
>> 50: rmidLauncher.addToolArg("-J-Dsun.rmi.activation.execPolicy=none");
>> 51: rmidLauncher.addToolArg("-J--add-modules=jdk.hotspot.agent");
>
> Is this really needed? Although SA will be using rmid, I don't understand why rmid needs to know about SA.
They are needed.
If we don't give `execPolicy=none`, we can see warning on console.
SA code would run on rmid, so we need to add module.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3233
More information about the serviceability-dev
mailing list