Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK-8276731: Metaspace chunks are uncommitted twice #6277

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/hotspot/share/memory/metaspace/chunkManager.cpp
Expand Up @@ -264,12 +264,6 @@ void ChunkManager::return_chunk_locked(Metachunk* c) {
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);
DEBUG_ONLY(verify_locked();)
SOMETIMES(c->vsnode()->verify_locked();)
Expand Down