XXS RFR: JDK-8066745: tools/pack200/Pack200Props.java failed with java.lang.OutOfMemoryError: Java heap space
kumar.x.srinivasan at oracle.com
Mon Dec 8 00:56:20 UTC 2014
I have adjust both the tests Pack200Props as well as Pack200Test which uses
rt.jar to have increased heaps and -Xshare:off.
On 12/6/2014 2:36 AM, Alan Bateman wrote:
> On 06/12/2014 01:36, Kumar Srinivasan wrote:
>> The heap needs to be increased (1.2GB) for this test, I think the
>> default provided
>> by the launcher ergonomics is not sufficient on certain platforms. I've
>> tested the patch with JPRT.
>> diff --git a/test/tools/pack200/Pack200Props.java
>> --- a/test/tools/pack200/Pack200Props.java
>> +++ b/test/tools/pack200/Pack200Props.java
>> @@ -62,6 +62,7 @@
>> List<String> cmdsList = new ArrayList<>();
>> + cmdsList.add("-J-Xmx1280m");
> This looks okay to me although 1.2GB makes me wonder if you might
> still need -Xshare:off on Windows 32-bit.
More information about the core-libs-dev