8276731: Metaspace chunks are uncommitted twice
Reviewed-by: shade, coleenp
This commit is contained in:
parent
5c7f77c824
commit
4bd5bfd8e2
@ -264,12 +264,6 @@ void ChunkManager::return_chunk_locked(Metachunk* c) {
|
|||||||
c = merged;
|
c = merged;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Settings::uncommit_free_chunks() &&
|
|
||||||
c->word_size() >= Settings::commit_granule_words()) {
|
|
||||||
UL2(debug, "uncommitting free chunk " METACHUNK_FORMAT ".", METACHUNK_FORMAT_ARGS(c));
|
|
||||||
c->uncommit_locked();
|
|
||||||
}
|
|
||||||
|
|
||||||
return_chunk_simple_locked(c);
|
return_chunk_simple_locked(c);
|
||||||
DEBUG_ONLY(verify_locked();)
|
DEBUG_ONLY(verify_locked();)
|
||||||
SOMETIMES(c->vsnode()->verify_locked();)
|
SOMETIMES(c->vsnode()->verify_locked();)
|
||||||
|
Loading…
Reference in New Issue
Block a user