<p dir="ltr">64 bit Linux with 32bit JVM. </p>
<p dir="ltr">Cheers, <br>
Jakub </p>
<div class="gmail_quote">20 maj 2015 15:18 "Jesper Wilhelmsson" <<a href="mailto:jesper.wilhelmsson@oracle.com">jesper.wilhelmsson@oracle.com</a>> napisał(a):<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Does this reproduce every time?<br>
What platform is it?<br>
<br>
I have tried to reproduce this on 32bit linux but can't see anything weird there. It seems likely that there is a variable with the wrong type somewhere on the way. I'll see if I can find something.<br>
/Jesper<br>
<br>
<br>
Jakub Kubryński skrev den 15/5/15 17:22:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I've just checked that on 32bit JVM (HotSpot 8u45) jmap reports strange region<br>
information for G1 collector. As you can see Xmx is set to 2G (which fits<br>
MaxHeapSize) but regions count (almost 15k) and capacity is incorrect. Any ideas<br>
why?<br>
<br>
Heap Configuration:<br>
MinHeapFreeRatio = 40<br>
MaxHeapFreeRatio = 70<br>
MaxHeapSize = <a href="tel:2147483648" value="+12147483648" target="_blank">2147483648</a> (2048.0MB)<br>
NewSize = 1048576 (1.0MB)<br>
MaxNewSize = 428867584 (409.0MB)<br>
OldSize = 4194304 (4.0MB)<br>
NewRatio = 2<br>
SurvivorRatio = 8<br>
MetaspaceSize = 16777216 (16.0MB)<br>
CompressedClassSpaceSize = 1073741824 (1024.0MB)<br>
MaxMetaspaceSize = 4294963200 (4095.99609375MB)<br>
G1HeapRegionSize = 1048576 (1.0MB)<br>
<br>
Heap Usage:<br>
G1 Heap:<br>
regions = 14336<br>
capacity = <a href="tel:15032385536" value="+15032385536" target="_blank">15032385536</a> (14336.0MB)<br>
used = 76347888 (72.81101989746094MB)<br>
free = 14956037648 (14263.188980102539MB)<br>
0.5078893687043872% used<br>
<br>
--<br>
Best regards,<br>
Jakub Kubrynski<br>
</blockquote>
</blockquote></div>