Searched refs:Handle (Results 1 - 25 of 126) sorted by relevance

123456

/openjdk7/hotspot/src/share/vm/runtime/
H A Dhandles.hpp46 // Handle h1(obj); // allocate new handle
47 // Handle h2(thread, obj); // faster allocation when current thread is known
48 // Handle h3; // declare handle only, no allocation occurs
58 // oop Handle
75 class Handle VALUE_OBJ_CLASS_SPEC {
85 Handle() { _handle = NULL; } function in class:VALUE_OBJ_CLASS_SPEC
86 Handle(oop obj);
88 Handle(Thread* thread, oop obj);
91 Handle(Thread* thread, oop obj);
98 bool operator == (const Handle
110 Handle(oop *handle, bool dummy) { _handle = handle; } function in class:VALUE_OBJ_CLASS_SPEC
[all...]
H A Dsynchronizer.hpp46 // deoptimization at monitor exit. Hence, it does not take a Handle argument.
55 static void fast_enter (Handle obj, BasicLock* lock, bool attempt_rebias, TRAPS);
61 static void slow_enter (Handle obj, BasicLock* lock, TRAPS);
66 static void jni_enter (Handle obj, TRAPS);
67 static bool jni_try_enter(Handle obj, Thread* THREAD); // Implements Unsafe.tryMonitorEnter
70 // Handle all interpreter, compiler and jni cases
71 static void wait (Handle obj, jlong millis, TRAPS);
72 static void notify (Handle obj, TRAPS);
73 static void notifyall (Handle obj, TRAPS);
78 static void waitUninterruptibly (Handle ob
[all...]
H A DjavaCalls.hpp79 JavaCallWrapper(methodHandle callee_method, Handle receiver, JavaValue* result, TRAPS);
126 JavaCallArguments(Handle receiver) {
147 inline void push_oop(Handle h) { _is_oop[_size] = true;
163 Handle receiver() {
167 return Handle((oop*)_value[0], false);
170 void set_receiver(Handle h) {
196 static void call_default_constructor(JavaThread* thread, methodHandle method, Handle receiver, TRAPS);
203 static void call_special(JavaValue* result, Handle receiver, KlassHandle klass, Symbol* name, Symbol* signature, TRAPS); // No args
204 static void call_special(JavaValue* result, Handle receiver, KlassHandle klass, Symbol* name, Symbol* signature, Handle arg
[all...]
H A DbiasedLocking.hpp177 static Condition revoke_and_rebias(Handle obj, bool attempt_rebias, TRAPS);
181 static void revoke(GrowableArray<Handle>* objs);
182 static void revoke_at_safepoint(Handle obj);
183 static void revoke_at_safepoint(GrowableArray<Handle>* objs);
H A Dhandles.inline.hpp43 // between Thread and Handle
45 inline Handle::Handle(oop obj) { function in class:Handle
55 inline Handle::Handle(Thread* thread, oop obj) { function in class:Handle
H A DstackValueCollection.hpp48 Handle obj_at(int slot) const;
55 void set_obj_at(int slot, Handle value);
H A DstackValue.hpp36 Handle _o; // Java stack slot value interpreted as a Handle
44 StackValue(Handle value, intptr_t scalar_replaced = 0) {
63 Handle get_obj() const {
73 void set_obj(Handle value) {
H A DjavaCalls.cpp58 JavaCallWrapper::JavaCallWrapper(methodHandle callee_method, Handle receiver, JavaValue* result, TRAPS) {
190 void JavaCalls::call_default_constructor(JavaThread* thread, methodHandle method, Handle receiver, TRAPS) {
208 Handle receiver = args->receiver();
221 void JavaCalls::call_virtual(JavaValue* result, Handle receiver, KlassHandle spec_klass, Symbol* name, Symbol* signature, TRAPS) {
227 void JavaCalls::call_virtual(JavaValue* result, Handle receiver, KlassHandle spec_klass, Symbol* name, Symbol* signature, Handle arg1, TRAPS) {
235 void JavaCalls::call_virtual(JavaValue* result, Handle receiver, KlassHandle spec_klass, Symbol* name, Symbol* signature, Handle arg1, Handle arg2, TRAPS) {
256 void JavaCalls::call_special(JavaValue* result, Handle receive
[all...]
H A Dreflection.hpp57 static Handle new_type(Symbol* signature, KlassHandle k, TRAPS);
124 static methodHandle resolve_interface_call(instanceKlassHandle klass, methodHandle method, KlassHandle recv_klass, Handle receiver, TRAPS);
126 static oop invoke(instanceKlassHandle klass, methodHandle method, Handle receiver, bool override, objArrayHandle ptypes, BasicType rtype, objArrayHandle args, bool is_method_invoke, TRAPS);
138 static oop invoke_method(oop method_mirror, Handle receiver, objArrayHandle args, TRAPS);
/openjdk7/hotspot/src/share/vm/utilities/
H A Dexceptions.cpp78 bool Exceptions::special_exception(Thread* thread, const char* file, int line, Handle h_exception) {
134 Handle h_exception = Handle(thread, exception);
138 void Exceptions::_throw(Thread* thread, const char* file, int line, Handle h_exception, const char* message) {
168 Handle h_loader, Handle h_protection_domain) {
172 Handle h_cause(thread, NULL);
173 Handle h_exception = new_exception(thread, name, message, h_cause, h_loader, h_protection_domain);
177 void Exceptions::_throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause,
178 Handle h_loade
[all...]
H A DpreserveException.hpp46 Handle _preserved_exception_oop;
62 Handle _preserved_exception_oop;
78 Handle _preserved_exception_oop;
H A Dexceptions.hpp43 // thread provides also convenient access to it (e.g. for Handle
52 class Handle;
103 static bool special_exception(Thread *thread, const char* file, int line, Handle exception);
114 static void _throw(Thread* thread, const char* file, int line, Handle exception, const char* msg = NULL);
118 Handle loader, Handle protection_domain);
120 static void _throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause);
121 static void _throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause,
122 Handle h_loader, Handle h_protection_domai
[all...]
H A DpreserveException.cpp34 _preserved_exception_oop = Handle(thread, _thread->pending_exception());
61 _preserved_exception_oop = Handle(thread, _thread->pending_exception());
80 _preserved_exception_oop = Handle(_thread, _thread->pending_exception());
/openjdk7/hotspot/src/share/vm/classfile/
H A DsystemDictionary.hpp225 static klassOop resolve_or_fail(Symbol* class_name, Handle class_loader, Handle protection_domain, bool throw_error, TRAPS);
230 static klassOop handle_resolution_exception(Symbol* class_name, Handle class_loader, Handle protection_domain, bool throw_error, KlassHandle klass_h, TRAPS);
236 static klassOop resolve_or_null(Symbol* class_name, Handle class_loader, Handle protection_domain, TRAPS);
245 Handle class_loader,
246 Handle protection_domain,
253 Handle class_loader,
254 Handle protection_domai
[all...]
H A DloaderConstraints.hpp44 Handle loader);
67 bool add_entry(Symbol* name, klassOop klass1, Handle loader1,
68 klassOop klass2, Handle loader2);
72 // Handle loader1, Handle loader2,
75 klassOop find_constrained_klass(Symbol* name, Handle loader);
80 void extend_loader_constraint(LoaderConstraintEntry* p, Handle loader,
85 bool check_or_update(instanceKlassHandle k, Handle loader,
H A DsystemDictionary.cpp134 bool SystemDictionary::is_parallelCapable(Handle class_loader) {
141 bool SystemDictionary::is_parallelDefine(Handle class_loader) {
153 klassOop SystemDictionary::resolve_or_fail(Symbol* class_name, Handle class_loader, Handle protection_domain, bool throw_error, TRAPS) {
163 klassOop SystemDictionary::handle_resolution_exception(Symbol* class_name, Handle class_loader, Handle protection_domain, bool throw_error, KlassHandle klass_h, TRAPS) {
172 Handle e(THREAD, PENDING_EXCEPTION);
195 return resolve_or_fail(class_name, Handle(), Handle(), throw_error, THREAD);
201 klassOop SystemDictionary::resolve_or_null(Symbol* class_name, Handle class_loade
[all...]
H A DclassFileParser.hpp51 GrowableArray<Handle>* _cp_patches; // overrides for CP entries
143 void parse_constant_pool_entries(Handle class_loader,
146 constantPoolHandle parse_constant_pool(Handle class_loader, TRAPS);
151 Handle class_loader,
152 Handle protection_domain,
316 Handle cp_patch_at(int index) {
320 Handle clear_cp_patch_at(int index) {
321 Handle patch = cp_patch_at(index);
322 _cp_patches->at_put(index, Handle());
326 void patch_constant_pool(constantPoolHandle cp, int index, Handle patc
[all...]
H A DjavaClasses.hpp62 static Handle basic_create(int length, bool tenured, TRAPS);
63 static Handle basic_create_from_unicode(jchar* unicode, int length, bool tenured, TRAPS);
86 static Handle create_from_unicode(jchar* unicode, int len, TRAPS);
87 static Handle create_tenured_from_unicode(jchar* unicode, int len, TRAPS);
89 static Handle create_from_str(const char* utf8_str, TRAPS);
91 static Handle create_from_symbol(Symbol* symbol, TRAPS);
92 static Handle create_from_platform_dependent_str(const char* str, TRAPS);
93 static Handle char_converter(Handle java_string, jchar from_char, jchar to_char, TRAPS);
157 static char* as_platform_dependent_str(Handle java_strin
[all...]
H A Ddictionary.hpp48 Symbol* name, Handle loader);
74 void add_klass(Symbol* class_name, Handle class_loader,KlassHandle obj);
77 Symbol* name, Handle loader);
109 Handle loader, Handle protection_domain, TRAPS);
111 Symbol* name, Handle class_loader,
112 Handle protection_domain);
114 instanceKlassHandle klass, Handle loader,
115 Handle protection_domain, TRAPS);
186 bool is_valid_protection_domain(Handle protection_domai
[all...]
H A DclassLoader.hpp68 NOT_PRODUCT(virtual void compile_the_world(Handle loader, TRAPS) = 0;)
82 NOT_PRODUCT(void compile_the_world(Handle loader, TRAPS);)
113 NOT_PRODUCT(void compile_the_world(Handle loader, TRAPS);)
114 NOT_PRODUCT(void compile_the_world12(Handle loader, TRAPS);) // JDK 1.2 version
115 NOT_PRODUCT(void compile_the_world13(Handle loader, TRAPS);) // JDK 1.3 version
138 NOT_PRODUCT(void compile_the_world(Handle loader, TRAPS);)
346 static void compile_the_world_in(char* name, Handle loader, TRAPS);
H A DverificationType.cpp61 name(), Handle(THREAD, klass->class_loader()),
62 Handle(THREAD, klass->protection_domain()), true, CHECK_false);
71 from.name(), Handle(THREAD, klass->class_loader()),
72 Handle(THREAD, klass->protection_domain()), true, CHECK_false);
/openjdk7/hotspot/src/share/vm/interpreter/
H A DlinkResolver.hpp78 Handle _resolved_appendix; // extra argument in constant pool (if CPCE::has_appendix)
79 Handle _resolved_method_type; // MethodType (for invokedynamic and invokehandle call sites)
84 void set_handle( methodHandle resolved_method, Handle resolved_appendix, Handle resolved_method_type, TRAPS);
94 Handle resolved_appendix() const { return _resolved_appendix; }
95 Handle resolved_method_type() const { return _resolved_method_type; }
118 KlassHandle current_klass, Handle *appendix_result_or_null, Handle *method_type_result, TRAPS);
136 static void runtime_resolve_virtual_method (CallInfo& result, methodHandle resolved_method, KlassHandle resolved_klass, Handle recv, KlassHandle recv_klass, bool check_null_and_abstract, TRAPS);
137 static void runtime_resolve_interface_method (CallInfo& result, methodHandle resolved_method, KlassHandle resolved_klass, Handle rec
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A DgcNotifier.cpp78 static Handle getGcInfoBuilder(GCMemoryManager *gcManager,TRAPS) {
95 return Handle(THREAD,(oop)result.get_jobject());
98 static Handle createGcInfo(GCMemoryManager *gcManager, GCStatInfo *gcStatInfo,TRAPS) {
116 Handle before_usage = MemoryService::create_MemoryUsage_obj(gcStatInfo->before_gc_usage_for_pool(i), CHECK_NH);
117 Handle after_usage;
159 Handle gcInfo_instance = ik->allocate_instance_handle(CHECK_NH);
179 return Handle(gcInfo_instance());
212 Handle objGcInfo = createGcInfo(request->gcManager, request->gcStatInfo, THREAD);
214 Handle objName = java_lang_String::create_from_platform_dependent_str(request->gcManager->name(), CHECK);
215 Handle objActio
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A DmethodHandles.hpp40 // See also javaClasses for layouts java_lang_invoke_Method{Handle,Type,Type::Form}.
54 static Handle resolve_MemberName(Handle mname, TRAPS); // compute vmtarget/vmindex from name/type
55 static void expand_MemberName(Handle mname, int suppress, TRAPS); // expand defc/name/type if missing
56 static Handle new_MemberName(TRAPS); // must be followed by init_MemberName
63 static Handle init_method_MemberName(oop mname_oop, CallInfo& info, TRAPS);
64 static Handle init_field_MemberName(oop mname_oop, FieldAccessInfo& info, TRAPS);
134 static int get_named_constant(int which, Handle name_box, TRAPS);
144 static Symbol* lookup_method_type(Symbol* msig, Handle mtype, TRAPS);
/openjdk7/hotspot/src/share/vm/code/
H A DdebugInfo.hpp87 Handle _value;
114 Handle value() const { return _value; }
117 void set_value(oop value) { _value = Handle(value); }
208 Handle _value;
210 Handle value() const { return _value; }

Completed in 5610 milliseconds

123456