RFR 9: 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory

huizhe wang huizhe.wang at oracle.com
Tue Apr 28 04:39:16 UTC 2015


Hi Roger,

I think you meant to print out initMemory before totalMemory :-)

+                System.out.printf("consuming memory: i: %d, initial: %d, total: %d, delta: %d%n",
+                        i, totalMemory, initMemory, totalMemory - initMemory);

**                        i, initMemory,totalMemory,totalMemory - initMemory);


-Joe

On 4/27/2015 1:54 PM, Roger Riggs wrote:
> Please review adding diagnostic output to identify an intermittent 
> failure.
>
> Webrev:
>    http://cr.openjdk.java.net/~rriggs/webrev-lots-8078582/
>
> Issue:
>   https://bugs.openjdk.java.net/browse/JDK-8078582
>
> Thanks, Roger
>




More information about the core-libs-dev mailing list