src/hotspot/share/oops/instanceMirrorKlass.hpp
changeset 49982 9042ffe5b7fe
parent 47216 71c04702a3d5
child 50752 9d62da00bf15
equal deleted inserted replaced
49981:bd0a95bec96b 49982:9042ffe5b7fe
    87   // allocation
    87   // allocation
    88   instanceOop allocate_instance(Klass* k, TRAPS);
    88   instanceOop allocate_instance(Klass* k, TRAPS);
    89 
    89 
    90   // GC specific object visitors
    90   // GC specific object visitors
    91   //
    91   //
    92 #if INCLUDE_ALL_GCS
    92 #if INCLUDE_PARALLELGC
    93   // Parallel Scavenge
    93   // Parallel Scavenge
    94   void oop_ps_push_contents(  oop obj, PSPromotionManager* pm);
    94   void oop_ps_push_contents(  oop obj, PSPromotionManager* pm);
    95   // Parallel Compact
    95   // Parallel Compact
    96   void oop_pc_follow_contents(oop obj, ParCompactionManager* cm);
    96   void oop_pc_follow_contents(oop obj, ParCompactionManager* cm);
    97   void oop_pc_update_pointers(oop obj, ParCompactionManager* cm);
    97   void oop_pc_update_pointers(oop obj, ParCompactionManager* cm);
   119   template <bool nv, class OopClosureType>
   119   template <bool nv, class OopClosureType>
   120   inline void oop_oop_iterate(oop obj, OopClosureType* closure);
   120   inline void oop_oop_iterate(oop obj, OopClosureType* closure);
   121 
   121 
   122 
   122 
   123   // Reverse iteration
   123   // Reverse iteration
   124 #if INCLUDE_ALL_GCS
   124 #if INCLUDE_OOP_OOP_ITERATE_BACKWARDS
   125   // Iterate over the oop fields and metadata.
   125   // Iterate over the oop fields and metadata.
   126   template <bool nv, class OopClosureType>
   126   template <bool nv, class OopClosureType>
   127   inline void oop_oop_iterate_reverse(oop obj, OopClosureType* closure);
   127   inline void oop_oop_iterate_reverse(oop obj, OopClosureType* closure);
   128 #endif
   128 #endif
   129 
   129 
   146  public:
   146  public:
   147 
   147 
   148   ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_OOP_ITERATE_DECL)
   148   ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_OOP_ITERATE_DECL)
   149   ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_OOP_ITERATE_DECL)
   149   ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_OOP_ITERATE_DECL)
   150 
   150 
   151 #if INCLUDE_ALL_GCS
   151 #if INCLUDE_OOP_OOP_ITERATE_BACKWARDS
   152   ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_OOP_ITERATE_DECL_BACKWARDS)
   152   ALL_OOP_OOP_ITERATE_CLOSURES_1(OOP_OOP_ITERATE_DECL_BACKWARDS)
   153   ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_OOP_ITERATE_DECL_BACKWARDS)
   153   ALL_OOP_OOP_ITERATE_CLOSURES_2(OOP_OOP_ITERATE_DECL_BACKWARDS)
   154 #endif // INCLUDE_ALL_GCS
   154 #endif
   155 };
   155 };
   156 
   156 
   157 #endif // SHARE_VM_OOPS_INSTANCEMIRRORKLASS_HPP
   157 #endif // SHARE_VM_OOPS_INSTANCEMIRRORKLASS_HPP