Searched refs:_thread (Results 1 - 25 of 76) sorted by relevance

1234

/openjdk10/hotspot/src/share/vm/utilities/
H A DpreserveException.cpp33 _thread = thread;
34 _preserved_exception_oop = Handle(thread, _thread->pending_exception());
35 _preserved_exception_line = _thread->exception_line();
36 _preserved_exception_file = _thread->exception_file();
37 _thread->clear_pending_exception(); // Needed to avoid infinite recursion
42 if (_thread->has_pending_exception()) {
43 oop exception = _thread->pending_exception();
44 _thread->clear_pending_exception(); // Needed to avoid infinite recursion
49 _thread->set_pending_exception(_preserved_exception_oop(), _preserved_exception_file, _preserved_exception_line);
60 _thread
[all...]
H A DpreserveException.hpp34 Thread* _thread; member in class:PreserveExceptionMark
50 Thread* _thread; member in class:CautiouslyPreserveExceptionMark
66 Thread* _thread; member in class:WeakPreserveExceptionMark
75 WeakPreserveExceptionMark(Thread* pThread) : _thread(pThread), _preserved_exception_oop() {
H A DvmError.cpp598 print_bug_submit_message(st, _thread);
642 if (_thread) {
643 st->print("Current thread (" PTR_FORMAT "): ", p2i(_thread));
644 _thread->print_on_error(st, buf, sizeof(buf));
654 if (_verbose && _thread && _thread->is_Compiler_thread()) {
655 CompilerThread* t = (CompilerThread*)_thread;
673 if (_thread) {
674 stack_top = _thread->stack_base();
675 stack_size = _thread
1203 Thread* VMError::_thread; member in class:VMError
[all...]
/openjdk10/hotspot/src/share/vm/shark/
H A DsharkInvariants.hpp50 _thread(NULL) {}
55 _thread(parent->_thread) {}
60 llvm::Value* _thread; member in class:SharkCompileInvariants
89 assert(_thread != NULL, "thread not available");
90 return _thread;
93 assert(_thread == NULL, "thread already set");
94 _thread = thread;
/openjdk10/hotspot/src/share/vm/runtime/
H A Dhandles.inline.hpp45 inline name##Handle::name##Handle(type* obj) : _value(obj), _thread(NULL) { \
48 _thread = Thread::current(); \
49 assert (_thread->is_in_stack((address)this), "not on stack?"); \
50 _thread->metadata_handles()->push((Metadata*)obj); \
53 inline name##Handle::name##Handle(Thread* thread, type* obj) : _value(obj), _thread(thread) { \
56 assert(_thread == Thread::current(), "thread must be current"); \
57 assert (_thread->is_in_stack((address)this), "not on stack?"); \
58 _thread->metadata_handles()->push((Metadata*)obj); \
H A Dhandles.cpp49 if (h._thread != NULL) { \
50 assert(h._thread == Thread::current(), "thread must be current");\
51 _thread = h._thread; \
53 _thread = Thread::current(); \
55 assert (_thread->is_in_stack((address)this), "not on stack?"); \
56 _thread->metadata_handles()->push((Metadata*)_value); \
58 _thread = NULL; \
66 if (s._thread != NULL) { \
67 assert(s._thread
[all...]
H A DinterfaceSupport.hpp48 Thread* _thread; member in class:HandleMarkCleaner
51 _thread = thread;
52 _thread->last_handle_mark()->push();
55 _thread->last_handle_mark()->pop_and_restore();
126 JavaThread* _thread; member in class:ThreadStateTransition
129 _thread = thread;
204 void trans(JavaThreadState from, JavaThreadState to) { transition(_thread, from, to); }
205 void trans_from_java(JavaThreadState to) { transition_from_java(_thread, to); }
206 void trans_from_native(JavaThreadState to) { transition_from_native(_thread, to); }
207 void trans_and_fence(JavaThreadState from, JavaThreadState to) { transition_and_fence(_thread, fro
229 JavaThread* _thread; member in class:ThreadInVMfromUnknown
[all...]
H A DunhandledOops.cpp39 _thread = thread;
63 if (!_thread->is_in_stack((address)op))
101 if (!_thread->is_in_stack((address)op)) return;
122 if(!_thread->is_in_stack((address)entry._oop_ptr)) {
125 p2i(_thread), p2i(entry._pc));
H A DregisterMap.hpp75 JavaThread* _thread; // Reference to current thread member in class:RegisterMap
117 JavaThread *thread() const { return _thread; }
H A DjavaCalls.cpp89 _thread = (JavaThread *)thread;
90 _handles = _thread->active_handles(); // save previous handle block & Java frame linkage
97 _anchor.copy(_thread->frame_anchor());
98 _thread->frame_anchor()->clear();
100 debug_only(_thread->inc_java_call_counter());
101 _thread->set_active_handles(new_handles); // install new handle block and reset Java frame linkage
103 assert (_thread->thread_state() != _thread_in_native, "cannot set native pc to NULL");
107 _thread->clear_pending_exception();
111 _thread->record_base_of_stack_pointer();
117 assert(_thread
[all...]
H A DunhandledOops.hpp68 Thread* _thread; member in class:UnhandledOops
H A Drframe.hpp38 JavaThread* const _thread; // thread where frame resides. member in class:RFrame
61 JavaThread* thread() const { return _thread; }
H A Dhandles.hpp138 Thread* _thread; \
145 name##Handle () : _value(NULL), _thread(NULL) {} \
243 Thread *_thread; // thread that owns this mark member in class:HandleMark
H A Dvframe.hpp58 JavaThread* _thread; // The thread owning the raw frame. member in class:vframe
77 JavaThread* thread() const { return _thread; }
283 JavaThread* _thread; member in class:vframeStreamCommon
311 _thread = thread;
365 _frame = _thread->last_frame();
468 JavaThreadState state = _thread->thread_state();
/openjdk10/hotspot/src/share/vm/gc/shared/
H A DgcLocker.hpp200 Thread *_thread; member in class:NoSafepointVerifier
206 _thread = Thread::current();
208 _thread->_allow_allocation_count++;
209 _thread->_allow_safepoint_count++;
215 _thread->_allow_allocation_count--;
216 _thread->_allow_safepoint_count--;
243 _nsv->_thread->_allow_allocation_count--;
244 _nsv->_thread->_allow_safepoint_count--;
250 _nsv->_thread->_allow_allocation_count++;
251 _nsv->_thread
[all...]
/openjdk10/hotspot/src/share/vm/gc/g1/
H A Dg1StringDedupThread.hpp41 static G1StringDedupThread* _thread; member in class:G1StringDedupThread
H A Dg1StringDedupThread.cpp36 G1StringDedupThread* G1StringDedupThread::_thread = NULL; member in class:G1StringDedupThread
50 assert(_thread == NULL, "One string deduplication thread allowed");
51 _thread = new G1StringDedupThread();
56 assert(_thread != NULL, "String deduplication thread not created");
57 return _thread;
/openjdk10/hotspot/src/share/vm/prims/
H A DjvmtiEnvThreadState.cpp131 _thread = thread;
244 JavaThread *_thread; member in class:VM_GetCurrentLocation
250 _thread = thread;
254 ResourceMark rmark; // _thread != Thread::current()
255 RegisterMap rm(_thread, false);
259 if (!_thread->is_exiting() && _thread->has_last_Java_frame()) {
260 javaVFrame* vf = _thread->last_java_vframe(&rm);
305 if (event_type == JVMTI_EVENT_SINGLE_STEP && _thread->has_last_Java_frame()) {
310 VM_GetCurrentLocation op(_thread);
[all...]
H A Dwhitebox.hpp39 JavaThread* _thread; member in class:ClearPendingJniExcCheck
41 ClearPendingJniExcCheck(JNIEnv* env) : _thread(JavaThread::thread_from_jni_environment(env)) {}
43 _thread->clear_pending_jni_exception_check();
H A DjvmtiClassFileReconstituter.hpp101 Thread* _thread; member in class:JvmtiClassFileReconstituter
108 inline Thread* thread() { return _thread; }
145 _thread = Thread::current();
H A DjvmtiEnvThreadState.hpp113 JavaThread *_thread; member in class:JvmtiEnvThreadState
169 inline JavaThread *get_thread() { return _thread; }
H A DjvmtiThreadState.cpp52 _thread = thread;
180 JvmtiEnvThreadState *new_ets = new JvmtiEnvThreadState(_thread, env);
203 assert(_thread->get_interp_only_mode() == 0, "entering interp only when mode not zero");
204 _thread->increment_interp_only_mode();
209 assert(_thread->get_interp_only_mode() == 1, "leaving interp only when mode not one");
210 _thread->decrement_interp_only_mode();
H A DjvmtiThreadState.hpp78 JavaThread *_thread; member in class:JvmtiThreadState
147 bool is_interp_only_mode() { return _thread->is_interp_only_mode(); }
171 inline JavaThread *get_thread() { return _thread; }
333 bool has_last_frame() { return _thread->has_last_Java_frame(); }
407 void set_should_post_on_exceptions(bool val) { _thread->set_should_post_on_exceptions_flag(val ? JNI_TRUE : JNI_FALSE); }
H A Dstackwalk.hpp45 JavaThread* _thread; member in class:BaseFrameStream
50 BaseFrameStream(JavaThread* thread) : _thread(thread), _anchor(0L) {}
66 return (_thread == thread && check_magic(frames_array));
/openjdk10/hotspot/src/share/vm/memory/
H A DresourceArea.hpp87 Thread* _thread; member in class:ResourceMark
100 _thread = thread;
126 _thread = thread;
130 _thread = NULL;
161 if (_thread != NULL) {
162 _thread->set_current_resource_mark(_previous_resource_mark);

Completed in 140 milliseconds

1234