RFR (XS): 8009408: gc/metaspace/ClassMetaspaceSizeInJmapHeap.java fails with "exit code 1"
bengt.rutisson at oracle.com
Wed Mar 6 01:05:37 PST 2013
Erik and Staffan,
The ProcessTools class has the method getPlatformSpecificVMArgs() that
returns "-d64" if necessary. You can't use this as is since you need to
get "J-d64" but I think we should do something to make your solution
Either adding a possible prefix to the getPlatformSpecificVMArgs() or
adding a separate method that returns "JDK-tools formatted" args. It
seems a bit too limited to fix this only for your particular test. Would
be nice to get it in to the testlibrary somehow.
On 3/5/13 5:55 PM, Staffan Larsen wrote:
> Looks good. I wish we could abstract this away so that not every test needs to do this work.
> /Staffan (mobile)
> On 5 mar 2013, at 17:39, Erik Helin <erik.helin at oracle.com> wrote:
>> Hi all,
>> this change adds the option "-J-d64" or "-J-d32" (depending on arch) when running jmap in the test hotspot/test/gc/metaspace/ClassMetaspaceSizeInJmapHeap.java.
More information about the hotspot-gc-dev