< prev index next >

src/hotspot/share/classfile/javaClasses.inline.hpp

Print this page




 105 }
 106 void java_lang_ref_Reference::set_next_raw(oop ref, oop value) {
 107   ref->obj_field_put_raw(next_offset, value);
 108 }
 109 HeapWord* java_lang_ref_Reference::next_addr(oop ref) {
 110   return ref->obj_field_addr<HeapWord>(next_offset);
 111 }
 112 oop java_lang_ref_Reference::discovered(oop ref) {
 113   return ref->obj_field(discovered_offset);
 114 }
 115 void java_lang_ref_Reference::set_discovered(oop ref, oop value) {
 116   ref->obj_field_put(discovered_offset, value);
 117 }
 118 void java_lang_ref_Reference::set_discovered_raw(oop ref, oop value) {
 119   ref->obj_field_put_raw(discovered_offset, value);
 120 }
 121 HeapWord* java_lang_ref_Reference::discovered_addr(oop ref) {
 122   return ref->obj_field_addr<HeapWord>(discovered_offset);
 123 }
 124 




 125 inline void java_lang_invoke_CallSite::set_target_volatile(oop site, oop target) {
 126   site->obj_field_put_volatile(_target_offset, target);
 127 }
 128 
 129 inline oop  java_lang_invoke_CallSite::target(oop site) {
 130   return site->obj_field(_target_offset);
 131 }
 132 
 133 inline void java_lang_invoke_CallSite::set_target(oop site, oop target) {
 134   site->obj_field_put(_target_offset, target);
 135 }
 136 
 137 inline bool java_lang_invoke_CallSite::is_instance(oop obj) {
 138   return obj != NULL && is_subclass(obj->klass());
 139 }
 140 
 141 inline bool java_lang_invoke_MethodHandleNatives_CallSiteContext::is_instance(oop obj) {
 142   return obj != NULL && is_subclass(obj->klass());
 143 }
 144 




 105 }
 106 void java_lang_ref_Reference::set_next_raw(oop ref, oop value) {
 107   ref->obj_field_put_raw(next_offset, value);
 108 }
 109 HeapWord* java_lang_ref_Reference::next_addr(oop ref) {
 110   return ref->obj_field_addr<HeapWord>(next_offset);
 111 }
 112 oop java_lang_ref_Reference::discovered(oop ref) {
 113   return ref->obj_field(discovered_offset);
 114 }
 115 void java_lang_ref_Reference::set_discovered(oop ref, oop value) {
 116   ref->obj_field_put(discovered_offset, value);
 117 }
 118 void java_lang_ref_Reference::set_discovered_raw(oop ref, oop value) {
 119   ref->obj_field_put_raw(discovered_offset, value);
 120 }
 121 HeapWord* java_lang_ref_Reference::discovered_addr(oop ref) {
 122   return ref->obj_field_addr<HeapWord>(discovered_offset);
 123 }
 124 
 125 oop java_lang_Continuation::target(oop ref) {
 126   return ref->obj_field(target_offset);
 127 }
 128 
 129 inline void java_lang_invoke_CallSite::set_target_volatile(oop site, oop target) {
 130   site->obj_field_put_volatile(_target_offset, target);
 131 }
 132 
 133 inline oop  java_lang_invoke_CallSite::target(oop site) {
 134   return site->obj_field(_target_offset);
 135 }
 136 
 137 inline void java_lang_invoke_CallSite::set_target(oop site, oop target) {
 138   site->obj_field_put(_target_offset, target);
 139 }
 140 
 141 inline bool java_lang_invoke_CallSite::is_instance(oop obj) {
 142   return obj != NULL && is_subclass(obj->klass());
 143 }
 144 
 145 inline bool java_lang_invoke_MethodHandleNatives_CallSiteContext::is_instance(oop obj) {
 146   return obj != NULL && is_subclass(obj->klass());
 147 }
 148 


< prev index next >