src/hotspot/share/gc/z/zGranuleMap.hpp
changeset 54162 f344a0c6e19e
parent 54095 8b4a1177202d
child 54735 a9f729b641a3
equal deleted inserted replaced
54161:349843ebb209 54162:f344a0c6e19e
    44   ZGranuleMap();
    44   ZGranuleMap();
    45   ~ZGranuleMap();
    45   ~ZGranuleMap();
    46 
    46 
    47   T get(uintptr_t addr) const;
    47   T get(uintptr_t addr) const;
    48   void put(uintptr_t addr, T value);
    48   void put(uintptr_t addr, T value);
       
    49   void put(uintptr_t addr, size_t size, T value);
    49 };
    50 };
    50 
    51 
    51 template <typename T>
    52 template <typename T>
    52 class ZGranuleMapIterator : public StackObj {
    53 class ZGranuleMapIterator : public StackObj {
    53 public:
    54 public:
    56 
    57 
    57 public:
    58 public:
    58   ZGranuleMapIterator(const ZGranuleMap<T>* map);
    59   ZGranuleMapIterator(const ZGranuleMap<T>* map);
    59 
    60 
    60   bool next(T* value);
    61   bool next(T* value);
       
    62   bool next(T** value);
    61 };
    63 };
    62 
    64 
    63 #endif // SHARE_GC_Z_ZGRANULEMAP_HPP
    65 #endif // SHARE_GC_Z_ZGRANULEMAP_HPP