Review request 8008310 - Some adjustments needed to, minimal VM warnings and errors for unsupported command line options

David Holmes david.holmes at oracle.com
Mon Feb 25 17:43:37 PST 2013


On 26/02/2013 1:58 AM, JOSEPH PROVINO wrote:
> Latest webrev is here:
> http://cr.openjdk.java.net/~jprovino/8008310/webrev.02
>
> - excluded filemap.cpp if CDS is 0.
>
> - confined changes for CDS to filemap.hpp.

These changes are good - thanks.

For arguments.cpp:

1076     FLAG_SET_DEFAULT(RequireSharedSpaces, false);

If we execute this line then the flag is already false.

Also, as discussed in email -Xshare:dump should probably be an error not 
a warning, but note that if left as a warning then this code:

2518     // -Xshare:dump
2519     } else if (match_option(option, "-Xshare:dump", &tail)) {
2520       FLAG_SET_CMDLINE(bool, DumpSharedSpaces, true);
2521       set_mode_flags(_int);     // Prevent compilation, which 
creates objects

would also force us into intepreter mode, so you would still need to 
check INCLUDE_CDS here.

David
-----

> thanks.
>
> joe
>
>


More information about the hotspot-dev mailing list