[preview] Adding java.lang.Runtime.getVMArguments() method
Jaroslav Bachorik
jaroslav.bachorik at oracle.com
Tue Dec 8 10:24:10 UTC 2015
On 8.12.2015 04:52, Mandy Chung wrote:
>
>> On Dec 7, 2015, at 7:42 PM, David Holmes <david.holmes at oracle.com> wrote:
>>
>> On 8/12/2015 1:54 AM, Roger Riggs wrote:
>>> Hi Jaroslav,
>>>
>>> Is this just to accommodate the test library? I found no other
>>> references in java.base.
>>>
>>> If so, then perhaps it can be placed in another package that the tests
>>> routinely need access to.
>>> Does this fit the scope of the WhiteBox?
>>
>> The original mail states: "it was pointed out that this functionality should be available in java.base without going through JMX. " But I question that statement - why should it be available without going through JMX? This kind of system introspection is a management/monitoring function and so rightly belongs in JMX in my opinion.
>
> +1
>
> The concerning dependency I’m aware is an internal feature that I think it should look into an alternative to eliminate such dependency.
I can introduce a new native method in the affected class that would
call the refactored JVM method to get the VM input arguments. Not very
nice but it would work.
-JB-
>
> Mandy
>
More information about the serviceability-dev
mailing list