RFR(S): 8161085: PreserveFPRegistersTest fails with 'AssertionError: Final value has changed'
tobias.hartmann at oracle.com
Wed Sep 21 16:07:47 UTC 2016
On 21.09.2016 18:02, Vladimir Kozlov wrote:
> On 9/21/16 12:01 AM, Tobias Hartmann wrote:
>> please review the following patch:
>> This problem is very similar to JDK-8148175, the test fails because G1 barriers emitted by C1 do not preserve floating point registers on SPARC. The problem is that the barrier code calls into the runtime without saving/restoring the FP registers. I fixed this by using save_live_registers() instead of manually saving individual registers.
>> Tested with failing regression test on SPARC and RBT (running).
More information about the hotspot-compiler-dev