src/hotspot/share/gc/z/zMarkStackAllocator.hpp
changeset 58811 38f4701d6587
parent 51395 f3cf91d5373f
equal deleted inserted replaced
58810:3aba4a42d8ad 58811:38f4701d6587
    48   uintptr_t alloc(size_t size);
    48   uintptr_t alloc(size_t size);
    49 };
    49 };
    50 
    50 
    51 class ZMarkStackAllocator {
    51 class ZMarkStackAllocator {
    52 private:
    52 private:
    53   ZMarkStackMagazineList _freelist ATTRIBUTE_ALIGNED(ZCacheLineSize);
    53   ZCACHE_ALIGNED ZMarkStackMagazineList _freelist;
    54   ZMarkStackSpace        _space    ATTRIBUTE_ALIGNED(ZCacheLineSize);
    54   ZCACHE_ALIGNED ZMarkStackSpace        _space;
    55 
    55 
    56   void prime_freelist();
    56   void prime_freelist();
    57   ZMarkStackMagazine* create_magazine_from_space(uintptr_t addr, size_t size);
    57   ZMarkStackMagazine* create_magazine_from_space(uintptr_t addr, size_t size);
    58 
    58 
    59 public:
    59 public: