Searched refs:thread (Results 1 - 25 of 655) sorted by relevance

1234567891011>>

/openjdk7/hotspot/src/os/bsd/vm/
H A DinterfaceSupport_bsd.hpp30 static inline void serialize_memory(JavaThread *thread) { argument
31 os::write_memory_serialize_page(thread);
/openjdk7/hotspot/src/os/linux/vm/
H A DinterfaceSupport_linux.hpp30 static inline void serialize_memory(JavaThread *thread) { argument
31 os::write_memory_serialize_page(thread);
/openjdk7/hotspot/src/os/solaris/vm/
H A DinterfaceSupport_solaris.hpp30 static inline void serialize_memory(JavaThread *thread) { argument
31 os::write_memory_serialize_page(thread);
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkRuntime.hpp31 #include "runtime/thread.hpp"
38 static int find_exception_handler(JavaThread* thread,
42 static void monitorenter(JavaThread* thread, BasicObjectLock* lock);
43 static void monitorexit(JavaThread* thread, BasicObjectLock* lock);
45 static void new_instance(JavaThread* thread, int index);
46 static void newarray(JavaThread* thread, BasicType type, int size);
47 static void anewarray(JavaThread* thread, int index, int size);
48 static void multianewarray(JavaThread* thread,
53 static void register_finalizer(JavaThread* thread, oop object);
55 static void throw_ArithmeticException(JavaThread* thread,
71 last_frame(JavaThread *thread) argument
74 method(JavaThread *thread) argument
77 bcp(JavaThread *thread, int bci) argument
80 two_byte_index(JavaThread *thread, int bci) argument
83 tos_at(JavaThread *thread, int offset) argument
[all...]
/openjdk7/hotspot/src/share/vm/interpreter/
H A DinterpreterRuntime.hpp57 static frame last_frame(JavaThread *thread) { return thread->last_frame(); } argument
58 static methodOop method(JavaThread *thread) { return last_frame(thread).interpreter_frame_method(); } argument
59 static address bcp(JavaThread *thread) { return last_frame(thread).interpreter_frame_bcp(); } argument
60 static int bci(JavaThread *thread) { return last_frame(thread).interpreter_frame_bci(); } argument
61 static void set_bcp_and_mdp(address bcp, JavaThread*thread);
62 static Bytecodes::Code code(JavaThread *thread) { argument
66 already_resolved(JavaThread *thread) argument
67 bytecode(JavaThread *thread) argument
68 get_index_u1(JavaThread *thread, Bytecodes::Code bc) argument
70 get_index_u2(JavaThread *thread, Bytecodes::Code bc) argument
72 get_index_u2_cpcache(JavaThread *thread, Bytecodes::Code bc) argument
74 get_index_u4(JavaThread *thread, Bytecodes::Code bc) argument
76 number_of_dimensions(JavaThread *thread) argument
78 cache_entry_at(JavaThread *thread, int i) argument
79 cache_entry(JavaThread *thread) argument
130 is_breakpoint(JavaThread *thread) argument
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DgcLocker.inline.hpp46 inline void GC_locker::lock_critical(JavaThread* thread) { argument
47 if (!thread->in_critical()) {
50 // global lock count and per thread count are in agreement.
51 jni_lock(thread);
56 thread->enter_critical();
59 inline void GC_locker::unlock_critical(JavaThread* thread) { argument
60 if (thread->in_last_critical()) {
63 // the global lock count and per thread count are in agreement.
64 jni_unlock(thread);
69 thread
[all...]
/openjdk7/hotspot/src/os_cpu/bsd_zero/vm/
H A DthreadLS_bsd_zero.cpp38 void ThreadLocalStorage::pd_set_thread(Thread* thread) { argument
39 os::thread_local_storage_at_put(ThreadLocalStorage::thread_index(), thread); local
H A DthreadLS_bsd_zero.hpp31 static Thread* thread() { function
/openjdk7/hotspot/src/os_cpu/linux_sparc/vm/
H A DthreadLS_linux_sparc.cpp36 void ThreadLocalStorage::pd_set_thread(Thread* thread) { argument
37 os::thread_local_storage_at_put(ThreadLocalStorage::thread_index(), thread); local
H A DthreadLS_linux_sparc.hpp29 static Thread* thread() { function
/openjdk7/hotspot/src/os_cpu/linux_zero/vm/
H A DthreadLS_linux_zero.cpp38 void ThreadLocalStorage::pd_set_thread(Thread* thread) { argument
39 os::thread_local_storage_at_put(ThreadLocalStorage::thread_index(), thread); local
H A DthreadLS_linux_zero.hpp31 static Thread* thread() { function
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DMonitorInfoImpl.java39 ThreadReference thread; field in class:MonitorInfoImpl
43 ThreadReferenceImpl thread, int dpth) {
46 this.thread = thread;
48 thread.addListener(this);
64 "Invalid stack frame thread listener");
85 public ThreadReference thread() { method in class:MonitorInfoImpl
87 return thread;
42 MonitorInfoImpl(VirtualMachine vm, ObjectReference mon, ThreadReferenceImpl thread, int dpth) argument
/openjdk7/jdk/src/share/classes/java/io/
H A DSerialCallbackContext.java33 * This context keeps track of the thread it was constructed on, and allows
35 * or writeFields which must be invoked on the same thread before the class's
37 * If not set to the current thread, the getObj method throws NotActiveException.
44 * As this only works in one thread, we do not need to worry about thread-safety.
46 private Thread thread; field in class:SerialCallbackContext
51 this.thread = Thread.currentThread();
64 if (thread != Thread.currentThread()) {
68 thread = null;
72 thread
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_event.h45 void event_object_init(JNIEnv *env, jthread thread, jobject obj);
46 void event_newarray(JNIEnv *env, jthread thread, jobject obj);
47 void event_call(JNIEnv *env, jthread thread,
49 void event_return(JNIEnv *env, jthread thread,
53 void event_class_load(JNIEnv *env, jthread thread, jclass klass, jobject loader);
54 void event_class_prepare(JNIEnv *env, jthread thread, jclass klass, jobject loader);
55 void event_thread_start(JNIEnv *env_id, jthread thread);
56 void event_thread_end(JNIEnv *env_id, jthread thread);
57 void event_exception_catch(JNIEnv *env, jthread thread, jmethodID method,
/openjdk7/jdk/src/share/back/
H A DthreadControl.h41 jvmtiError threadControl_popFrames(jthread thread, FrameNumber fnum);
44 EventIndex ei, jthread thread, jobject currentException);
45 void threadControl_onEventHandlerExit(EventIndex ei, jthread thread, struct bag *);
48 jvmtiError threadControl_suspendThread(jthread thread, jboolean deferred);
49 jvmtiError threadControl_resumeThread(jthread thread, jboolean do_unblock);
50 jvmtiError threadControl_suspendCount(jthread thread, jint *count);
58 jboolean threadControl_isDebugThread(jthread thread);
59 jvmtiError threadControl_addDebugThread(jthread thread);
61 jvmtiError threadControl_applicationThreadStatus(jthread thread, jdwpThreadStatus *pstatus, jint *suspendStatus);
62 jvmtiError threadControl_interrupt(jthread thread);
[all...]
H A DFrameID.h31 FrameID createFrameID(jthread thread, FrameNumber fnum);
33 jdwpError validateFrameID(jthread thread, FrameID frame);
/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/jdi/
H A DMonitorInfoImpl.java40 ThreadReference thread; field in class:MonitorInfoImpl
44 ThreadReference thread, int dpth) {
47 this.thread = thread;
67 public ThreadReference thread() { method in class:MonitorInfoImpl
69 return thread;
43 MonitorInfoImpl(VirtualMachine vm, ObjectReference mon, ThreadReference thread, int dpth) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/livejvm/
H A DBreakpointEvent.java31 private Oop thread; field in class:BreakpointEvent
36 public BreakpointEvent(Oop thread, argument
41 this.thread = thread;
47 public Oop thread() { return thread; } method in class:BreakpointEvent
/openjdk7/hotspot/src/share/vm/utilities/
H A Dexceptions.cpp78 bool Exceptions::special_exception(Thread* thread, const char* file, int line, Handle h_exception) { argument
97 if (thread->is_VM_thread()
98 || thread->is_Compiler_thread() ) {
99 // We do not care what kind of exception we get for the vm-thread or a thread which
101 thread->set_pending_exception(Universe::vm_exception(), file, line);
108 bool Exceptions::special_exception(Thread* thread, const char* file, int line, Symbol* h_name, const char* message) { argument
120 if (thread->is_VM_thread()
121 || thread->is_Compiler_thread() ) {
122 // We do not care what kind of exception we get for the vm-thread o
132 _throw_oop(Thread* thread, const char* file, int line, oop exception) argument
138 _throw(Thread* thread, const char* file, int line, Handle h_exception, const char* message) argument
167 _throw_msg(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_loader, Handle h_protection_domain) argument
177 _throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause, Handle h_loader, Handle h_protection_domain) argument
186 _throw_cause(Thread* thread, const char* file, int line, Symbol* name, Handle h_cause, Handle h_loader, Handle h_protection_domain) argument
195 _throw_args(Thread* thread, const char* file, int line, Symbol* name, Symbol* signature, JavaCallArguments *args) argument
208 _throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause) argument
211 _throw_msg(Thread* thread, const char* file, int line, Symbol* name, const char* message) argument
214 _throw_cause(Thread* thread, const char* file, int line, Symbol* name, Handle h_cause) argument
236 fthrow(Thread* thread, const char* file, int line, Symbol* h_name, const char* format, ...) argument
249 new_exception(Thread *thread, Symbol* name, Symbol* signature, JavaCallArguments *args, Handle h_loader, Handle h_protection_domain) argument
294 new_exception(Thread *thread, Symbol* name, Symbol* signature, JavaCallArguments *args, Handle h_cause, Handle h_loader, Handle h_protection_domain) argument
325 new_exception(Thread* thread, Symbol* name, Handle h_cause, Handle h_loader, Handle h_protection_domain, ExceptionMsgToUtf8Mode to_utf8_safe) argument
342 new_exception(Thread* thread, Symbol* name, const char* message, Handle h_cause, Handle h_loader, Handle h_protection_domain, ExceptionMsgToUtf8Mode to_utf8_safe) argument
393 new_exception(Thread* thread, Symbol* name, const char* message, ExceptionMsgToUtf8Mode to_utf8_safe) argument
406 ExceptionMark(Thread*& thread) argument
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DStepTest.java124 ThreadReference thread = waitForVMStart();
126 StepEvent stepEvent = stepIntoLine(thread);
128 String className = thread.frame(0).location().declaringType().name();
132 thread = bpEvent.thread();
135 if (thread.frameCount() < maxDepth) {
137 stepEvent = stepIntoLine(thread);
139 stepEvent = stepIntoInstruction(thread);
143 stepEvent = stepOverLine(thread);
145 stepEvent = stepOverInstruction(thread);
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DStackFrameStream.java29 /** <P> StackFrameStream iterates through the frames of a thread
32 a thread is stopped at a safepoint, all registers are saved, not
38 for(StackFrameStream fst = new StackFrameStream(thread); !fst.isDone(); fst.next()) {
49 /** Equivalent to StackFrameStream(thread, true) */
50 public StackFrameStream(JavaThread thread) { argument
51 this(thread, true);
54 public StackFrameStream(JavaThread thread, boolean update) { argument
57 Assert.that(thread.hasLastJavaFrame(), "sanity check");
59 fr = thread.getLastFrame();
60 regMap = thread
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A DinterfaceSupport_windows.hpp30 static inline void serialize_memory(JavaThread *thread) { argument
40 os::write_memory_serialize_page(thread);
/openjdk7/jdk/src/share/instrument/
H A DReentrancy.h36 * This module provides some utility functions to support the "same thread" re-entrancy management.
37 * Uses JVMTI TLS to store a single bit per thread.
38 * Non-zero means the thread is already inside; zero means the thread is not inside.
50 jthread thread);
55 jthread thread);

Completed in 2416 milliseconds

1234567891011>>