/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | javaCalls.cpp | 59 JavaThread* thread = (JavaThread *)THREAD; local 62 guarantee(thread->is_Java_thread(), "crucial check - the VM thread cannot and must not escape to Java code"); 63 assert(!thread->owns_locks(), "must release all locks when leaving VM"); 64 guarantee(!thread->is_Compiler_thread(), "cannot make java calls from the compiler"); 69 JNIHandleBlock* new_handles = JNIHandleBlock::allocate_block(thread); 71 // After this, we are official in JavaCode. This needs to be done before we change any of the thread local 73 ThreadStateTransition::transition(thread, _thread_in_vm, _thread_in_Java); 75 // Make sure that we handle asynchronous stops and suspends _before_ we clear all thread state 78 if (thread 190 call_default_constructor(JavaThread* thread, methodHandle method, Handle receiver, TRAPS) argument 325 JavaThread* thread = (JavaThread*)THREAD; local 465 SignatureChekker(Symbol* signature, BasicType return_type, bool is_static, bool* is_oop, intptr_t* value, Thread* thread) argument 548 verify(methodHandle method, BasicType return_type, Thread *thread) argument [all...] |
H A D | jniHandles.cpp | 54 Thread* thread = Thread::current(); local 56 return thread->active_handles()->allocate_handle(obj); 63 jobject JNIHandles::make_local(Thread* thread, oop obj) { argument 68 return thread->active_handles()->allocate_handle(obj); 77 JavaThread* thread = JavaThread::thread_from_jni_environment(env); local 79 return thread->active_handles()->allocate_handle(obj); 170 bool JNIHandles::is_local_handle(Thread* thread, jobject handle) { argument 171 JNIHandleBlock* block = thread->active_handles(); 184 // Determine if the handle is somewhere in the current thread's stack. 288 JNIHandleBlock* JNIHandleBlock::allocate_block(Thread* thread) { argument 335 release_block(JNIHandleBlock* block, Thread* thread) argument 491 Thread* thread = Thread::current(); local [all...] |
H A D | safepoint.hpp | 44 // thread.hpp) to indicate that that they are at a safepoint. 47 // exit safepoint methods, when a thread is blocked/restarted. Hence, all mutex exter/ 64 _synchronized = 2 // All Java threads are stopped at a safepoint. Only VM thread is running 141 static bool safepoint_safe(JavaThread *thread, JavaThreadState state); 143 static void check_for_lazy_critical_native(JavaThread *thread, JavaThreadState state); 158 // Called when a thread volantary blocks 159 static void block(JavaThread *thread); 163 static void handle_polling_page_exception(JavaThread *thread); 192 // State class for a thread suspended at a safepoint 195 // These states are maintained by VM thread whil 222 JavaThread* thread() const { return _thread; } function in class:ThreadSafepointState [all...] |
H A D | vframe.hpp | 58 JavaThread* _thread; // The thread owning the raw frame. 60 vframe(const frame* fr, const RegisterMap* reg_map, JavaThread* thread); 61 vframe(const frame* fr, JavaThread* thread); 64 static vframe* new_vframe(const frame* f, const RegisterMap *reg_map, JavaThread* thread); 77 JavaThread* thread() const { return _thread; } function in class:vframe 125 javaVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread) : vframe(fr, reg_map, thread) {} argument 126 javaVFrame(const frame* fr, JavaThread* thread) : vframe(fr, thread) {} argument 173 interpretedVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread) argument 204 externalVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread) argument 309 vframeStreamCommon(JavaThread* thread) argument 354 vframeStream(JavaThread* thread, bool stop_at_java_call_stub = false) argument [all...] |
H A D | vframeArray.cpp | 78 vf->thread()->add_monitor_chunk(_monitors); 165 JavaThread* thread = (JavaThread*) Thread::current(); local 202 assert(thread->deopt_nmethod() != NULL, "nmethod should be known"); 203 guarantee(!(thread->deopt_nmethod()->is_compiled_by_c2() && 211 JvmtiThreadState *state = thread->jvmti_thread_state(); 213 (thread->has_pending_popframe() || thread->popframe_forcing_deopt_reexecution())) { 214 if (thread->has_pending_popframe()) { 228 popframe_preserved_args_size_in_bytes = in_bytes(thread->popframe_preserved_args_size()); 231 popframe_preserved_args_size_in_words = in_words(thread 445 allocate(JavaThread* thread, int frame_size, GrowableArray<compiledVFrame*>* chunk, RegisterMap *reg_map, frame sender, frame caller, frame self) argument 462 fill_in(JavaThread* thread, int frame_size, GrowableArray<compiledVFrame*>* chunk, const RegisterMap *reg_map) argument 573 structural_compare(JavaThread* thread, GrowableArray<compiledVFrame*>* chunk) argument [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | growableArray.hpp | 144 void* raw_allocate(Thread* thread, int elementSize) { argument 146 return (void*)resource_allocate_bytes(thread, elementSize * _max); 160 GrowableArray(Thread* thread, int initial_size) : GenericGrowableArray(initial_size, 0, false) { argument 161 _data = (E*)raw_allocate(thread, sizeof(E));
|
H A D | vmError.cpp | 33 #include "runtime/thread.hpp" 75 // The thread that is reporting error will abort VM when it is done, all other 79 VMError::VMError(Thread* thread, unsigned int sig, address pc, void* siginfo, void* context) { argument 80 _thread = thread; 99 VMError::VMError(Thread* thread, const char* filename, int lineno, argument 102 _thread = thread; 121 VMError::VMError(Thread* thread, const char* filename, int lineno, size_t size, argument 123 _thread = thread; 195 static void print_bug_submit_message(outputStream *out, Thread *thread) { argument 202 if (thread [all...] |
/openjdk7/jdk/test/com/sun/jdi/ |
H A D | JDIScaffold.java | 127 Thread thread = new Thread(this); 128 thread.setDaemon(true); 129 thread.start(); 310 vmStartThread = event.thread(); 448 private StepEvent doStep(ThreadReference thread, int gran, int depth) { argument 450 requestManager.createStepRequest(thread, gran, depth); 462 public StepEvent stepIntoInstruction(ThreadReference thread) { argument 463 return doStep(thread, StepRequest.STEP_MIN, StepRequest.STEP_INTO); 466 public StepEvent stepIntoLine(ThreadReference thread) { argument 467 return doStep(thread, StepReques 470 stepOverInstruction(ThreadReference thread) argument 474 stepOverLine(ThreadReference thread) argument 478 stepOut(ThreadReference thread) argument [all...] |
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | SynchronizationStatistics.java | 89 System.out.println("Checking the thread state for the examiner thread " + 95 System.out.println("Now starting the blocked thread"); 125 private static void checkThreadState(Thread thread, Thread.State s) argument 128 ThreadInfo ti = mbean.getThreadInfo(thread.getId()); 130 ThreadInfo info = mbean.getThreadInfo(thread.getId(), 133 printStack(thread, info.getStackTrace()); 137 "Thread state for " + thread + " returns " + ti.getThreadState() + 142 private static void checkThreadState(Thread thread, argument 146 ThreadInfo ti = mbean.getThreadInfo(thread 317 setThread(BlockedThread thread) argument [all...] |
/openjdk7/jdk/src/share/instrument/ |
H A D | InvocationAdapter.c | 301 * Need JNIEnv - guaranteed to be called from thread that is already 455 jthread thread) { 453 eventHandlerVMInit( jvmtiEnv * jvmtienv, JNIEnv * jnienv, jthread thread) argument
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | ExchangeImpl.java | 49 Thread thread; field in class:ExchangeImpl
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ |
H A D | HSDB.java | 680 public void showThreadOopInspector(JavaThread thread) { argument 681 showInspector(new OopTreeNodeAdapter(thread.getThreadObj(), null)); 776 public void showThreadStackMemory(final JavaThread thread) { argument 777 // dumpStack(thread); 778 JavaVFrame vframe = getLastJavaVFrame(thread); 781 "Thread \"" + thread.getThreadName() + 788 JInternalFrame stackFrame = new JInternalFrame("Stack Memory for " + thread.getThreadName()); 795 // This is somewhat of a hack to guess a thread's stack limits since the 797 // it locks us into the active region of the thread's stack and not its 800 sun.jvm.hotspot.runtime.Frame tmpFrame = thread 1499 showThreadInfo(final JavaThread thread) argument 1503 showJavaStackTrace(final JavaThread thread) argument [all...] |
/openjdk7/hotspot/agent/test/jdi/ |
H A D | TestScaffold.java | 181 Thread thread = new Thread(this); 182 thread.setDaemon(true); 183 thread.start(); 410 * This is normally called in the main thread of the test case. 411 * It starts up an EventHandler thread that gets events coming in 412 * from the debuggee and distributes them to listeners. That thread 451 vmStartThread = event.thread(); 610 private StepEvent doStep(ThreadReference thread, int gran, int depth) { argument 612 requestManager.createStepRequest(thread, gran, depth); 624 public StepEvent stepIntoInstruction(ThreadReference thread) { argument 628 stepIntoLine(ThreadReference thread) argument 632 stepOverInstruction(ThreadReference thread) argument 636 stepOverLine(ThreadReference thread) argument 640 stepOut(ThreadReference thread) argument [all...] |
/openjdk7/hotspot/src/share/vm/ci/ |
H A D | ciEnv.hpp | 35 #include "runtime/thread.hpp" 246 // Is this thread currently in the VM state? 396 // Overload with current thread argument 397 static ciEnv* current(CompilerThread *thread) { return thread->env(); } argument
|
H A D | ciObjectFactory.cpp | 110 JavaThread* thread = JavaThread::current(); local 111 HandleMark handle_mark(thread); 114 // compiler thread that initializes the initial ciObjectFactory which
|
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | verifier.hpp | 358 Thread* thread() { return _thread; } function in class:ClassVerifier
|
/openjdk7/hotspot/src/share/vm/gc_interface/ |
H A D | collectedHeap.cpp | 76 _records[index].thread = NULL; // Its the GC thread so it's not that interesting. 228 Thread *thread = Thread::current(); local 232 assert(!thread->has_pending_exception(), 235 assert(thread->allow_allocation(), 236 "Allocation done by thread for which allocation is blocked " 240 thread->check_for_valid_safepoint_state(true); 245 HeapWord* CollectedHeap::allocate_from_tlab_slow(KlassHandle klass, Thread* thread, size_t size) { argument 249 if (thread->tlab().free() > thread 289 flush_deferred_store_barrier(JavaThread* thread) argument 356 new_store_pre_barrier(JavaThread* thread, oop new_obj) argument [all...] |
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | bytecodeInterpreter.hpp | 122 JavaThread* _thread; // the vm's java thread pointer 196 inline JavaThread* thread() { return _thread; } function in class:BytecodeInterpreter
|
H A D | interpreterRuntime.cpp | 96 void InterpreterRuntime::set_bcp_and_mdp(address bcp, JavaThread *thread) { argument 97 last_frame(thread).interpreter_frame_set_bcp(bcp); 101 methodDataOop mdo = last_frame(thread).interpreter_frame_method()->method_data(); 104 last_frame(thread).interpreter_frame_set_mdp(mdo->bci_to_dp(last_frame(thread).interpreter_frame_bci())); 113 IRT_ENTRY(void, InterpreterRuntime::ldc(JavaThread* thread, bool wide)) 115 constantPoolOop pool = method(thread)->constants(); 116 int index = wide ? get_index_u2(thread, Bytecodes::_ldc_w) : get_index_u1(thread, Bytecodes::_ldc); 122 thread 136 IRT_ENTRY(void, InterpreterRuntime::resolve_ldc(JavaThread* thread, Bytecodes::Code bytecode)) argument 256 note_trap(JavaThread* thread, int reason, TRAPS) argument 610 ObjectSynchronizer::slow_exit(h_obj(), elem->lock(), thread); variable 659 IRT_ENTRY(void, InterpreterRuntime::resolve_invoke(JavaThread* thread, Bytecodes::Code bytecode)) argument 732 IRT_ENTRY(void, InterpreterRuntime::resolve_invokehandle(JavaThread* thread)) argument 756 IRT_ENTRY(void, InterpreterRuntime::resolve_invokedynamic(JavaThread* thread)) argument 787 frequency_counter_overflow(JavaThread* thread, address branch_bcp) argument [all...] |
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | markOop.hpp | 63 // thread. When this pattern is set in the low three bits, the lock 64 // is either biased toward a given thread or "anonymously" biased, 66 // lock is biased toward a given thread, locking and unlocking can 67 // be performed by that thread without using atomic operations. 87 // [JavaThread* | epoch | age | 1 | 01] lock is biased toward given thread 98 // We assume that stack/thread pointers have the lowest two bits cleared. 189 // yet been biased toward a particular thread 233 // other thread. (They should spin or block instead. The 0 value 321 static markOop encode(JavaThread* thread, int age, int bias_epoch) { argument 322 intptr_t tmp = (intptr_t) thread; [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | parseHelper.cpp | 45 // Get base of thread-local storage area 46 Node* thread = _gvn.transform( new (C) ThreadLocalNode() ); local 59 thread, method_node);
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/expr/ |
H A D | LValue.java | 92 return memberLValue(fieldName, frameGetter.get().thread()); 98 LValue memberLValue(String fieldName, ThreadReference thread) throws ParseException { argument 105 return new LValueInstanceMember(val, fieldName, thread); 125 ThreadReference thread = frame.thread(); 126 LValue toStringMember = memberLValue("toString", thread); 455 final ThreadReference thread; field in class:LValue.LValueInstanceMember 463 ThreadReference thread) throws ParseException { 469 this.thread = thread; 461 LValueInstanceMember(Value value, String memberName, ThreadReference thread) argument 525 final ThreadReference thread; field in class:LValue.LValueStaticMember 531 LValueStaticMember(ReferenceType refType, String memberName, ThreadReference thread) argument 840 nFields(LValue lval, StringTokenizer izer, ThreadReference thread) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | CommandInterpreter.java | 75 * Commands issued using such thread ids will only give reliable behavior 94 ThreadReference thread = null; 105 thread = thread2; 109 if (thread == null) { 110 //env.failure("No thread for id \"" + idToken + "\""); 111 env.failure("\"" + idToken + "\" is not a valid thread id."); 115 thread = null; 117 return thread; 230 //### Issue: Uniqueness of thread group names is not enforced. 273 // Right-justify the thread numbe 756 dumpStack(ThreadReference thread, boolean showPC) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/ |
H A D | EventSetImpl.java | 36 * An EventSet is normally created by the transport reader thread when 40 * which should not be done by the transport reader thread. Instead, 171 private ThreadReference thread; field in class:EventSetImpl.ThreadedEventImpl 174 int requestID, ThreadReference thread) { 176 this.thread = thread; 179 public ThreadReference thread() { method in class:EventSetImpl.ThreadedEventImpl 180 return thread; 184 return eventName() + " in thread " + thread 173 ThreadedEventImpl(JDWP.Event.Composite.Events.EventsCommon evt, int requestID, ThreadReference thread) argument 192 LocatableEventImpl(JDWP.Event.Composite.Events.EventsCommon evt, int requestID, ThreadReference thread, Location location) argument 491 WatchpointEventImpl(JDWP.Event.Composite.Events.EventsCommon evt, int requestID, ThreadReference thread, Location location, byte refTypeTag, long typeID, long fieldID, ObjectReference object) argument [all...] |
/openjdk7/hotspot/src/cpu/zero/vm/ |
H A D | cppInterpreter_zero.cpp | 60 thread->set_last_Java_frame(); \ 62 thread->reset_last_Java_frame(); 69 JavaThread *thread = (JavaThread *) THREAD; local 73 thread->push_zero_frame(frame); 83 JavaThread *thread = (JavaThread *) THREAD; local 84 ZeroStack *stack = thread->zero_stack(); 91 InterpreterFrame *frame = thread->top_zero_frame()->as_interpreter_frame(); 103 thread->set_last_Java_frame(); 113 thread->reset_last_Java_frame(); 172 thread 203 JavaThread *thread = (JavaThread *) THREAD; local 470 JavaThread *thread = (JavaThread *) THREAD; local 598 JavaThread *thread = (JavaThread *) THREAD; local 617 JavaThread *thread = (JavaThread *) THREAD; local 631 JavaThread *thread = (JavaThread *) THREAD; local 664 JavaThread *thread = (JavaThread *) THREAD; local [all...] |