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

Joe Provino joseph.provino at oracle.com
Fri Nov 16 14:07:04 PST 2012


Okay, I see what you mean.

joe

On 11/16/2012 03:43 PM, BILL PITTORE wrote:

He's saying that if you have INCLUDEMANAGEMENT defined then you end up with an empty if statement. Harmless but ugly. I think you need to include the 'else if (matchoption(... -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 (matchoption(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 INCLUDEMANAGEMENT is false. Webrev is here: http://cr.openjdk.java.net/~jprovino/8003539/webrev.00/ thanks. joe



More information about the hotspot-dev mailing list