[preview] Adding java.lang.Runtime.getVMArguments() method

Mandy Chung mandy.chung at oracle.com
Tue Dec 8 03:52:09 UTC 2015


> 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.

Mandy



More information about the serviceability-dev mailing list