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

Staffan Larsen staffan.larsen at oracle.com
Fri Nov 27 11:33:56 UTC 2015


> On 27 nov. 2015, at 10:29, David Holmes <david.holmes at oracle.com> wrote:
> 
> Looks good. I'm assuming we don't have any SA tests in JPRT. :(

No, we don’t. Part of the reason is that they require very specific setup of the machines to be able to attach to (debug) another process. On OS X you either have to run as root or have a correct code signing certificate in your keychain. 

/Staffan

> 
> Trivial fix so this can  be pushed straight away.
> 
> Thanks,
> David
> 
> On 27/11/2015 7:16 PM, Erik Joelsson wrote:
>> 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