RFR(S): 8161085: PreserveFPRegistersTest fails with 'AssertionError: Final value has changed'
tobias.hartmann at oracle.com
Wed Sep 21 07:01:42 UTC 2016
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