equal
deleted
inserted
replaced
115 static address fast_jni_accessor_wrapper(BasicType); |
115 static address fast_jni_accessor_wrapper(BasicType); |
116 #endif |
116 #endif |
117 |
117 |
118 // filter function to ignore faults on serializations page |
118 // filter function to ignore faults on serializations page |
119 static LONG WINAPI serialize_fault_filter(struct _EXCEPTION_POINTERS* e); |
119 static LONG WINAPI serialize_fault_filter(struct _EXCEPTION_POINTERS* e); |
|
120 |
|
121 // Fast access to current thread |
|
122 protected: |
|
123 static int _thread_ptr_offset; |
|
124 private: |
|
125 static void initialize_thread_ptr_offset(); |
|
126 public: |
|
127 static inline void set_thread_ptr_offset(int offset) { |
|
128 _thread_ptr_offset = offset; |
|
129 } |
|
130 static inline int get_thread_ptr_offset() { return _thread_ptr_offset; } |
120 }; |
131 }; |
121 |
132 |
122 /* |
133 /* |
123 * Crash protection for the watcher thread. Wrap the callback |
134 * Crash protection for the watcher thread. Wrap the callback |
124 * with a __try { call() } |
135 * with a __try { call() } |