Review request: JDK-8003539 -- Minimal VM. VM doesn't react to -Dcom.sun.management and -XX:+ManagementServer
Dmitry Samersoff
dmitry.samersoff at oracle.com
Sun Nov 18 23:28:50 PST 2012
Joe,
Looks good for me!
-Dmitry
On 2012-11-19 01:31, Joe Provino wrote:
>
> How does this look?
> http://cr.openjdk.java.net/~jprovino/8003539/webrev.01/
>
> On 11/16/2012 4:13 PM, BILL PITTORE wrote:
>> 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.
>>
>> bill
>>
>>
>>
>> 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.
>>>
>>> joe
>>>
>>> On 11/16/2012 3:14 PM, Dmitry Samersoff wrote:
>>>> Joe,
>>>>
>>>> After you fix at 2788 regular hotspot start accepting do-nothing option
>>>>
>>>> -XX:+ManagementServer
>>>>
>>>> Is it intentional?
>>>>
>>>> -Dmitry
>>>>
>>>>
>>>> On 2012-11-16 23:24, Joe Provino wrote:
>>>>> This is a small change to one file -- arguments.cpp -- to print an
>>>>> error
>>>>> message
>>>>> and exit if INCLUDE_MANAGEMENT is false.
>>>>>
>>>>> Webrev is here:
>>>>> http://cr.openjdk.java.net/~jprovino/8003539/webrev.00/
>>>>>
>>>>> thanks.
>>>>>
>>>>> joe
>>>>
>>
>>
--
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* Give Rabbit time, and he'll always get the answer
More information about the hotspot-dev
mailing list