src/hotspot/share/classfile/javaClasses.hpp
changeset 49786 7444101401b2
parent 49348 fde3feaaa4ed
child 50036 e0dbf14885b8
equal deleted inserted replaced
49785:1ea962cb6575 49786:7444101401b2
   919   static inline HeapWord* next_addr_raw(oop ref);
   919   static inline HeapWord* next_addr_raw(oop ref);
   920   static inline oop discovered(oop ref);
   920   static inline oop discovered(oop ref);
   921   static inline void set_discovered(oop ref, oop value);
   921   static inline void set_discovered(oop ref, oop value);
   922   static inline void set_discovered_raw(oop ref, oop value);
   922   static inline void set_discovered_raw(oop ref, oop value);
   923   static inline HeapWord* discovered_addr_raw(oop ref);
   923   static inline HeapWord* discovered_addr_raw(oop ref);
       
   924   static inline oop queue(oop ref);
       
   925   static inline void set_queue(oop ref, oop value);
   924   static bool is_referent_field(oop obj, ptrdiff_t offset);
   926   static bool is_referent_field(oop obj, ptrdiff_t offset);
   925   static inline bool is_phantom(oop ref);
   927   static inline bool is_phantom(oop ref);
   926 };
   928 };
   927 
   929 
   928 
   930 
   940   static jlong clock();
   942   static jlong clock();
   941   static void set_clock(jlong value);
   943   static void set_clock(jlong value);
   942 
   944 
   943   static void compute_offsets();
   945   static void compute_offsets();
   944   static void serialize(SerializeClosure* f) NOT_CDS_RETURN;
   946   static void serialize(SerializeClosure* f) NOT_CDS_RETURN;
       
   947 };
       
   948 
       
   949 // Interface to java.lang.ref.ReferenceQueue objects
       
   950 
       
   951 class java_lang_ref_ReferenceQueue: public AllStatic {
       
   952 public:
       
   953   static int static_NULL_queue_offset;
       
   954   static int static_ENQUEUED_queue_offset;
       
   955 
       
   956   // Accessors
       
   957   static oop NULL_queue();
       
   958   static oop ENQUEUED_queue();
       
   959 
       
   960   static void compute_offsets();
   945 };
   961 };
   946 
   962 
   947 // Interface to java.lang.invoke.MethodHandle objects
   963 // Interface to java.lang.invoke.MethodHandle objects
   948 
   964 
   949 class MethodHandleEntry;
   965 class MethodHandleEntry;