Searched defs:thread (Results 126 - 150 of 379) sorted by relevance

1234567891011>>

/openjdk7/hotspot/src/share/vm/runtime/
H A Drframe.cpp38 RFrame::RFrame(frame fr, JavaThread* thread, RFrame*const callee) : argument
39 _fr(fr), _thread(thread), _callee(callee), _num(callee ? callee->num() + 1 : 0) {
50 InterpretedRFrame::InterpretedRFrame(frame fr, JavaThread* thread, RFrame*const callee) argument
51 : RFrame(fr, thread, callee) {
52 RegisterMap map(thread, false);
53 _vf = javaVFrame::cast(vframe::new_vframe(&_fr, &map, thread));
54 _method = methodHandle(thread, _vf->method());
59 InterpretedRFrame::InterpretedRFrame(frame fr, JavaThread* thread, methodHandle m) argument
60 : RFrame(fr, thread, NULL) {
61 RegisterMap map(thread, fals
69 CompiledRFrame(frame fr, JavaThread* thread, RFrame*const callee) argument
74 CompiledRFrame(frame fr, JavaThread* thread) argument
79 DeoptimizedRFrame(frame fr, JavaThread* thread, RFrame*const callee) argument
82 new_RFrame(frame fr, JavaThread* thread, RFrame*const callee) argument
[all...]
H A Drframe.hpp38 JavaThread* const _thread; // thread where frame resides.
46 RFrame(frame fr, JavaThread* thread, RFrame*const callee);
52 static RFrame* new_RFrame(frame fr, JavaThread* thread, RFrame*const callee);
61 JavaThread* thread() const { return _thread; } function in class:RFrame
84 CompiledRFrame(frame fr, JavaThread* thread, RFrame*const callee);
89 CompiledRFrame(frame fr, JavaThread* thread); // for nmethod triggering its counter (callee == NULL)
103 InterpretedRFrame(frame fr, JavaThread* thread, RFrame*const callee);
108 InterpretedRFrame(frame fr, JavaThread* thread, methodHandle m); // constructor for method triggering its invocation counter
119 DeoptimizedRFrame(frame fr, JavaThread* thread, RFrame*const callee);
H A Dtask.cpp131 WatcherThread* thread = WatcherThread::watcher_thread(); local
132 if (thread) {
133 thread->unpark();
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkInvariants.hpp83 // Pointer to this thread's JavaThread object. This is not
88 llvm::Value* thread() const { function in class:SharkCompileInvariants
89 assert(_thread != NULL, "thread not available");
92 void set_thread(llvm::Value* thread) { argument
93 assert(_thread == NULL, "thread already set");
94 _thread = thread;
H A DsharkRuntime.cpp30 #include "runtime/thread.hpp"
39 JRT_ENTRY(int, SharkRuntime::find_exception_handler(JavaThread* thread,
42 constantPoolHandle pool(thread, method(thread)->constants());
43 KlassHandle exc_klass(thread, ((oop) tos_at(thread, 0))->klass());
47 KlassHandle chk_klass(thread, tmp);
59 JRT_ENTRY(void, SharkRuntime::monitorenter(JavaThread* thread,
64 Handle object(thread, lock->obj());
75 JRT_ENTRY(void, SharkRuntime::monitorexit(JavaThread* thread,
82 ObjectSynchronizer::slow_exit(object(), lock->lock(), thread); variable
203 uncommon_trap(JavaThread* thread, int trap_request) argument
[all...]
/openjdk7/jdk/test/com/sun/jdi/redefine/
H A DRedefineTest.java86 ThreadReference thread = event.thread();
92 expectNonObsolete(thread);
93 inspectLineNumber(event, thread.frame(0));
95 doRedefine(thread);
101 expectNonObsolete(thread);
102 inspectLineNumber(event, thread.frame(0));
107 expectObsolete(thread);
108 inspectLineNumber(event, thread.frame(0));
121 ThreadReference thread
139 expectNonObsolete(ThreadReference thread) argument
147 expectObsolete(ThreadReference thread) argument
206 isObsolete(ThreadReference thread) argument
212 doRedefine(ThreadReference thread) argument
[all...]
/openjdk7/jdk/test/com/sun/jdi/redefineMethod/
H A DRedefineTest.java129 checkFrames(event.thread(), bpPlaces[bpCnt++]);
142 void checkFrames(ThreadReference thread, String[] matchList) throws Exception { argument
145 StackFrame frame = thread.frame(i);
229 return bpe.thread();
249 ThreadReference thread = toTop();
252 checkFrames(thread, before);
256 checkFrames(thread, after);
260 checkFrames(thread, shorter);
264 checkFrames(thread, shorter);
268 checkFrames(thread, refres
[all...]
/openjdk7/jdk/src/share/demo/jvmti/versionCheck/
H A DversionCheck.c75 vm_init(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument
/openjdk7/jdk/src/share/demo/jvmti/waiters/
H A DAgent.cpp59 Agent::get_thread(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument
66 err = jvmti->GetThreadLocalStorage(thread, (void**)&t);
67 check_jvmti_error(jvmti, err, "get thread local storage");
71 t = new Thread(jvmti, env, thread);
72 err = jvmti->SetThreadLocalStorage(thread, (const void*)t);
73 check_jvmti_error(jvmti, err, "set thread local storage");
112 Agent::Agent(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument
143 /* Thread start event, setup a new thread */
144 void Agent::thread_start(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument
152 t = new Thread(jvmti, env, thread);
159 thread_end(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument
176 monitor_contended_enter(jvmtiEnv* jvmti, JNIEnv *env, jthread thread, jobject object) argument
185 monitor_contended_entered(jvmtiEnv* jvmti, JNIEnv *env, jthread thread, jobject object) argument
192 monitor_wait(jvmtiEnv* jvmti, JNIEnv *env, jthread thread, jobject object, jlong timeout) argument
201 monitor_waited(jvmtiEnv* jvmti, JNIEnv *env, jthread thread, jobject object, jboolean timed_out) argument
[all...]
/openjdk7/jdk/src/share/demo/jvmti/gctest/
H A Dgctest.c60 /* Worker thread that waits for garbage collections */
114 vm_init(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument
122 check_jvmti_error(jvmti, err, "running agent thread");
/openjdk7/jdk/test/javax/sound/sampled/DataLine/
H A DDataLine_ArrayIndexOutOfBounds.java86 private final Thread thread; field in class:DataLine_ArrayIndexOutOfBounds.AsyncLineStopper
93 thread = new Thread(this);
94 thread.setDaemon(true);
95 // starts the thread and waits until it becomes ready
97 thread.start();
113 thread.interrupt();
115 thread.join();
/openjdk7/jdk/test/javax/swing/system/6799345/
H A DTestShutdown.java107 public synchronized void uncaughtException(Thread thread, Throwable t) argument
115 "target thread group on thread " + thread.getName());
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DCorbaResponseWaitingRoomImpl.java63 Thread thread; field in class:CorbaResponseWaitingRoomImpl.OutCallDesc
102 call.thread = Thread.currentThread();
178 // go up through this client thread!
182 // (in the client thread) in case it blocks.
217 // If the unmarshaling thread does all of its work inbetween the time
230 // Set the reply InputObject and signal the client thread
232 // The thread signalled will remove outcall descriptor if appropriate.
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/bugspot/
H A DThreadListPanel.java56 for the panel and the thread was a JavaThread. */
57 public void setFocus(ThreadProxy thread, JavaThread jthread); argument
61 private ThreadProxy thread; field in class:ThreadListPanel.ThreadInfo
69 public ThreadInfo(ThreadProxy thread, CDebugger dbg, JavaThread jthread) { argument
70 this.thread = thread;
72 CFrame fr = dbg.topFrameForThread(thread);
93 public ThreadProxy getThread() { return thread; }
109 /** Takes a CDebugger from which the thread list is queried.
138 // Thread ID, current PC, current symbol, Java Thread, [Java thread nam
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicDebugEvent.java32 private ThreadProxy thread; field in class:BasicDebugEvent
38 public BasicDebugEvent(DebugEvent.Type type, ThreadProxy thread) { argument
40 this.thread = thread;
44 public ThreadProxy getThread() { return thread; }
52 public void setThread(ThreadProxy thread) { this.thread = thread; } argument
59 public static BasicDebugEvent newLoadObjectLoadEvent(ThreadProxy thread, Address base) { argument
60 return newAddressEvent(DebugEvent.Type.LOADOBJECT_LOAD, thread, bas
63 newLoadObjectUnloadEvent(ThreadProxy thread, Address base) argument
67 newBreakpointEvent(ThreadProxy thread, Address pc) argument
71 newSingleStepEvent(ThreadProxy thread, Address pc) argument
75 newAccessViolationEvent(ThreadProxy thread, Address pc, boolean wasWrite, Address addr) argument
85 newUnknownEvent(ThreadProxy thread, String detail) argument
95 newAddressEvent(DebugEvent.Type type, ThreadProxy thread, Address addr) argument
101 newPCEvent(DebugEvent.Type type, ThreadProxy thread, Address pc) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/proc/
H A DProcDebugger.java59 public CFrame topFrameForThread(ThreadProxy thread) throws DebuggerException; argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DStackFrameImpl.java54 private final ThreadReferenceImpl thread; field in class:StackFrameImpl
60 StackFrameImpl(VirtualMachine vm, ThreadReferenceImpl thread, argument
63 this.thread = thread;
93 * Return the thread holding the frame.
96 public ThreadReference thread() { method in class:StackFrameImpl
98 return thread;
312 return location.toString() + " in thread " + thread.toString();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DJavaVFrame.java44 JavaVFrame(Frame fr, RegisterMap regMap, JavaThread thread) { argument
45 super(fr, regMap, thread);
H A DRegisterMap.java43 RegisterMap is created either for a particular thread or cloned
56 /** Reference to current thread */
57 protected JavaThread thread; field in class:RegisterMap
81 protected RegisterMap(JavaThread thread, boolean updateMap) { argument
82 this.thread = thread;
94 this.thread = map.getThread();
175 return thread;
H A DVFrame.java34 protected JavaThread thread; field in class:VFrame
36 protected VFrame(Frame f, RegisterMap regMap, JavaThread thread) { argument
44 this.thread = thread;
53 public static VFrame newVFrame(Frame f, RegisterMap regMap, JavaThread thread, boolean unsafe, boolean mayBeImprecise) { argument
55 return new InterpretedVFrame(f, regMap, thread);
77 return new CompiledVFrame(f, regMap, thread, scope, mayBeImprecise);
84 return newVFrame(s, tempMap, thread, unsafe, false);
90 return new ExternalVFrame(f, regMap, thread, mayBeImprecise);
96 public static VFrame newVFrame(Frame f, RegisterMap regMap, JavaThread thread) { argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/linux_ia64/
H A DLinuxIA64JavaThreadPDAccess.java91 public Frame getLastFramePD(JavaThread thread, Address addr) { argument
92 // The thread is the JavaThread that contains "this"
95 Address pc = thread.getLastJavaPC();
99 return new IA64Frame(thread.getLastJavaSP(), iframe, pc);
102 public RegisterMap newRegisterMap(JavaThread thread, boolean updateMap) { argument
103 return new IA64RegisterMap(thread, updateMap);
106 public Frame getCurrentFrameGuess(JavaThread thread, Address addr) { argument
107 return getLastFramePD(thread, addr);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/linux_sparc/
H A DLinuxSPARCJavaThreadPDAccess.java78 public Frame getLastFramePD(JavaThread thread, Address addr) { argument
84 // thread.
94 if (thread.getLastJavaSP() == null) {
101 // In a relective system we'd have to do something to force the thread to flush
106 if (thread.getLastJavaPC() != null) {
107 return new SPARCFrame(SPARCFrame.biasSP(thread.getLastJavaSP()), thread.getLastJavaPC());
109 Frame top = getCurrentFrameGuess(thread, addr);
110 return new SPARCFrame(SPARCFrame.biasSP(thread.getLastJavaSP()),
111 SPARCFrame.biasSP(SPARCFrame.findYoungerSP(top.getSP(), thread
118 newRegisterMap(JavaThread thread, boolean updateMap) argument
122 getCurrentFrameGuess(JavaThread thread, Address addr) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/solaris_sparc/
H A DSolarisSPARCJavaThreadPDAccess.java79 public Frame getLastFramePD(JavaThread thread, Address addr) { argument
85 // thread.
95 if (thread.getLastJavaSP() == null) {
102 // In a relective system we'd have to do something to force the thread to flush
107 if (thread.getLastJavaPC() != null) {
108 return new SPARCFrame(SPARCFrame.biasSP(thread.getLastJavaSP()), thread.getLastJavaPC());
110 Frame top = getCurrentFrameGuess(thread, addr);
111 return new SPARCFrame(SPARCFrame.biasSP(thread.getLastJavaSP()),
112 SPARCFrame.biasSP(SPARCFrame.findYoungerSP(top.getSP(), thread
119 newRegisterMap(JavaThread thread, boolean updateMap) argument
123 getCurrentFrameGuess(JavaThread thread, Address addr) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/sparc/
H A DSPARCRegisterMap.java93 public SPARCRegisterMap(JavaThread thread, boolean updateMap) { argument
94 super(thread, updateMap);
107 if (thread.hasLastJavaFrame()) {
108 Frame fr = thread.getLastFrame();
113 Frame fr = thread.getCurrentFrameGuess();
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/win32_ia64/
H A DWin32IA64JavaThreadPDAccess.java91 public Frame getLastFramePD(JavaThread thread, Address addr) { argument
92 // The thread is the JavaThread that contains "this"
95 Address pc = thread.getLastJavaPC();
99 return new IA64Frame(thread.getLastJavaSP(), iframe, pc);
102 public RegisterMap newRegisterMap(JavaThread thread, boolean updateMap) { argument
103 return new IA64RegisterMap(thread, updateMap);
106 public Frame getCurrentFrameGuess(JavaThread thread, Address addr) { argument
107 return getLastFramePD(thread, addr);

Completed in 102 milliseconds

1234567891011>>