Review request: JDK-8003539 -- Minimal VM. VM doesn't react to -Dcom.sun.management and -XX:+ManagementServer

BILL PITTORE bill.pittore at oracle.com
Fri Nov 16 12:43:52 PST 2012


He's saying that if you have INCLUDE_MANAGEMENT defined then you end up 
with an empty if statement. Harmless but ugly. I think you need to 
include the 'else if (match_option(... -XX:+Manage...)' line inside your 
#if. Watch out for braces.

bill



On 11/16/2012 3:20 PM, Joe Provino wrote:
>
>
> 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?
>
> Hi Dmitry, I added the "} else if" at 2788 before the "} else if 
> (match_option(option, "-XX:+ManagementServer", &tail)) {"
> that was already there.  I'm not sure I understand the problem.
>
> joe
>
>> -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
>>




More information about the hotspot-dev mailing list