RFR: JDK-8144134: Nightly tests fail with SIGSEGV in Ticks::now()

Erik Joelsson erik.joelsson at oracle.com
Fri Nov 27 09:16:02 UTC 2015


Hello,

Please review this small fix for the nightly test failure in SA. In my 
makefile conversion I seem to have accidentally deleted a character. In 
this case it had rather interesting side effects.

Bug: https://bugs.openjdk.java.net/browse/JDK-8144134
Patch:
diff -r b8bc00e338c4 make/lib/Lib-jdk.hotspot.agent.gmk
--- a/make/lib/Lib-jdk.hotspot.agent.gmk
+++ b/make/lib/Lib-jdk.hotspot.agent.gmk
@@ -79,7 +79,7 @@
    SA_EXCLUDE_FILES := BsdDebuggerLocal.c ps_proc.c salibelf.c 
StubDebuggerLocal.c
    SA_CFLAGS := $(CFLAGS_JDKLIB) \
        -Damd64 -D_GNU_SOURCE -mno-omit-leaf-frame-pointer \
-      -mstack-alignment=1 -fPIC
+      -mstack-alignment=16 -fPIC
    SA_LDFLAGS := $(LDFLAGS_JDKLIB)
    SA_LIBS := -framework Foundation -framework JavaNativeFoundation \
        -framework Security -framework CoreFoundation



More information about the hotspot-dev mailing list