equal
deleted
inserted
replaced
126 |
126 |
127 return delta; |
127 return delta; |
128 } |
128 } |
129 |
129 |
130 size_t MetaspaceGC::capacity_until_GC() { |
130 size_t MetaspaceGC::capacity_until_GC() { |
131 size_t value = OrderAccess::load_acquire(&_capacity_until_GC); |
131 size_t value = Atomic::load_acquire(&_capacity_until_GC); |
132 assert(value >= MetaspaceSize, "Not initialized properly?"); |
132 assert(value >= MetaspaceSize, "Not initialized properly?"); |
133 return value; |
133 return value; |
134 } |
134 } |
135 |
135 |
136 // Try to increase the _capacity_until_GC limit counter by v bytes. |
136 // Try to increase the _capacity_until_GC limit counter by v bytes. |