Mercurial > hg > graal-compiler
diff src/share/vm/gc_implementation/shared/mutableSpace.hpp @ 17727:cfd4aac53239
8030177: G1: Enable TLAB resizing
Reviewed-by: tschatzl, stefank, jmasa
author | brutisso |
---|---|
date | Mon, 27 Jan 2014 13:14:53 +0100 |
parents | da91efe96a93 |
children | 52b4284cb496 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shared/mutableSpace.hpp Thu Jan 23 12:08:28 2014 +0100 +++ b/src/share/vm/gc_implementation/shared/mutableSpace.hpp Mon Jan 27 13:14:53 2014 +0100 @@ -124,6 +124,7 @@ virtual size_t used_in_words() const { return pointer_delta(top(), bottom()); } virtual size_t free_in_words() const { return pointer_delta(end(), top()); } virtual size_t tlab_capacity(Thread* thr) const { return capacity_in_bytes(); } + virtual size_t tlab_used(Thread* thr) const { return used_in_bytes(); } virtual size_t unsafe_max_tlab_alloc(Thread* thr) const { return free_in_bytes(); } // Allocation (return NULL if full)