Mercurial > hg > truffle
comparison src/share/vm/memory/metaspace.hpp @ 20540:b509b7ff561c
8049599: MetaspaceGC::_capacity_until_GC can overflow
Reviewed-by: jmasa, stefank
author | ehelin |
---|---|
date | Wed, 01 Oct 2014 16:09:01 +0200 |
parents | 6e0cb14ce59b |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
20539:1fa6d1542e32 | 20540:b509b7ff561c |
---|---|
402 | 402 |
403 static void initialize(); | 403 static void initialize(); |
404 static void post_initialize(); | 404 static void post_initialize(); |
405 | 405 |
406 static size_t capacity_until_GC(); | 406 static size_t capacity_until_GC(); |
407 static size_t inc_capacity_until_GC(size_t v); | 407 static bool inc_capacity_until_GC(size_t v, |
408 size_t* new_cap_until_GC = NULL, | |
409 size_t* old_cap_until_GC = NULL); | |
408 static size_t dec_capacity_until_GC(size_t v); | 410 static size_t dec_capacity_until_GC(size_t v); |
409 | 411 |
410 static bool should_concurrent_collect() { return _should_concurrent_collect; } | 412 static bool should_concurrent_collect() { return _should_concurrent_collect; } |
411 static void set_should_concurrent_collect(bool v) { | 413 static void set_should_concurrent_collect(bool v) { |
412 _should_concurrent_collect = v; | 414 _should_concurrent_collect = v; |