8152857: [TESTBUG] UnsafeGetConstantField.testUnsafeGetFieldUnaligned fails w/ -XX:-UseUnalignedAccesses in -Xcomp mode
Reviewed-by: kvn, thartmann
--- a/hotspot/test/compiler/unsafe/UnsafeGetConstantField.java Tue Mar 29 09:53:50 2016 -0700
+++ b/hotspot/test/compiler/unsafe/UnsafeGetConstantField.java Tue Mar 29 21:33:16 2016 +0300
@@ -46,6 +46,7 @@
* -XX:+FoldStableValues
* -XX:CompileCommand=dontinline,UnsafeGetConstantField.checkGetAddress()
* -XX:CompileCommand=dontinline,*.test*
+ * -XX:CompileCommand=inline,*Unsafe.get*
* -XX:-UseUnalignedAccesses
* compiler.unsafe.UnsafeGetConstantField
*/