comparison src/share/vm/gc_implementation/shared/mutableSpace.hpp @ 18041:52b4284cb496

Merge with jdk8u20-b26
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 16:02:50 +0200
parents 4ca6dc0799b6 cfd4aac53239
children
comparison
equal deleted inserted replaced
17606:45d7b2c7029d 18041:52b4284cb496
122 122
123 // Size computations. Sizes are in heapwords. 123 // Size computations. Sizes are in heapwords.
124 virtual size_t used_in_words() const { return pointer_delta(top(), bottom()); } 124 virtual size_t used_in_words() const { return pointer_delta(top(), bottom()); }
125 virtual size_t free_in_words() const { return pointer_delta(end(), top()); } 125 virtual size_t free_in_words() const { return pointer_delta(end(), top()); }
126 virtual size_t tlab_capacity(Thread* thr) const { return capacity_in_bytes(); } 126 virtual size_t tlab_capacity(Thread* thr) const { return capacity_in_bytes(); }
127 virtual size_t tlab_used(Thread* thr) const { return used_in_bytes(); }
127 virtual size_t unsafe_max_tlab_alloc(Thread* thr) const { return free_in_bytes(); } 128 virtual size_t unsafe_max_tlab_alloc(Thread* thr) const { return free_in_bytes(); }
128 129
129 // Allocation (return NULL if full) 130 // Allocation (return NULL if full)
130 virtual HeapWord* allocate(size_t word_size); 131 virtual HeapWord* allocate(size_t word_size);
131 virtual HeapWord* cas_allocate(size_t word_size); 132 virtual HeapWord* cas_allocate(size_t word_size);