Review request: JDK-8003539 -- Minimal VM. VM doesn't react to -Dcom.sun.management and -XX:+ManagementServer
bill.pittore at oracle.com
Fri Nov 16 13:13:50 PST 2012
Where you had it is the right place, you just need to #if it better. The
-XX: options get process by the code just after line 2788 by
process_argument(). That deals with all the globals defined in
globals.hpp so it's not where you can special case one flag.
On 11/16/2012 3:23 PM, Joe Provino wrote:
> Dmitri, wait, I think I see what you mean. If INCLUDE_MANAGEMENT is
> set to true, then there's no code generated.
> I think the code that's there will work but perhaps there's a better
> place to check for this option when
> INCLUDE_MANAGEMENT is false.
> I seem to recall there's a place were -XX: arguments are parsed But I
> don't see a separate method to do that.
> I must be looking in the wrong place.
> On 11/16/2012 3:14 PM, Dmitry Samersoff wrote:
>> After you fix at 2788 regular hotspot start accepting do-nothing option
>> Is it intentional?
>> On 2012-11-16 23:24, Joe Provino wrote:
>>> This is a small change to one file -- arguments.cpp -- to print an
>>> and exit if INCLUDE_MANAGEMENT is false.
>>> Webrev is here:
More information about the hotspot-dev