equal
deleted
inserted
replaced
5868 stack_top=(intptr_t)st.ss_sp-st.ss_size; |
5868 stack_top=(intptr_t)st.ss_sp-st.ss_size; |
5869 return ((intptr_t)&stack_top - stack_top - STACK_SLACK); |
5869 return ((intptr_t)&stack_top - stack_top - STACK_SLACK); |
5870 } |
5870 } |
5871 } |
5871 } |
5872 |
5872 |
5873 // Just to get the Kernel build to link on solaris for testing. |
|
5874 |
|
5875 extern "C" { |
|
5876 class ASGCT_CallTrace; |
|
5877 void AsyncGetCallTrace(ASGCT_CallTrace *trace, jint depth, void* ucontext) |
|
5878 KERNEL_RETURN; |
|
5879 } |
|
5880 |
|
5881 |
|
5882 // ObjectMonitor park-unpark infrastructure ... |
5873 // ObjectMonitor park-unpark infrastructure ... |
5883 // |
5874 // |
5884 // We implement Solaris and Linux PlatformEvents with the |
5875 // We implement Solaris and Linux PlatformEvents with the |
5885 // obvious condvar-mutex-flag triple. |
5876 // obvious condvar-mutex-flag triple. |
5886 // Another alternative that works quite well is pipes: |
5877 // Another alternative that works quite well is pipes: |