JDK-8153194 : [TEST_BUG] PreserveFPRegistersTest.java runs out of memory in the nightlies
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:8u172,9
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2016-03-31
Updated:2019-01-14
Resolved:2016-07-01
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Notes: Confirmed from history that test failed for 64-bit targets only with -XX:-UseCompressedOops enabled.
Root cause of the failure seems to hard coded Reference size value as 4 in test.
int refSize = 4;
(tested manually that temporary change of refSize to 8 solved failing case issue)
Work in progress for correct fix.
[i. may be adding -XX:+UseCompressedOops to VM options OR setting default referenceSize to 8 OR
ii. detecting CompressedOops state within VM and setting refSize accordingly
- checking usages of wb.getHeapOopSize() ]
20-06-2016
Hi Vladimir,
this issue has just shown up.
The push job hs-comp -> hs is already underway and I don't want to stop it (let's get some changes into hs this week). Also, there are some changes in hs-comp that have not been fully tested yet.
Can you fix this test in the next couple of hours or so (and then push the fix directly into hs)? If not, I'll quarantine the test (also directly in hs).
Thank you!
Best regards,
Zoltan