Skip to content

Commit

Permalink
8346569: Shenandoah: Worker initializes ShenandoahThreadLocalData twi…
Browse files Browse the repository at this point in the history
…ce results in memory leak
  • Loading branch information
zhengyu.gu committed Dec 18, 2024
1 parent 6b022bb commit 48c2017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shenandoah/shenandoahWorkGroup.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017, 2021, Red Hat, Inc. All rights reserved.
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -73,7 +74,6 @@ ShenandoahPushWorkerScope::~ShenandoahPushWorkerScope() {
}

void ShenandoahWorkerThreads::on_create_worker(WorkerThread* worker) {
ShenandoahThreadLocalData::create(worker);
if (_initialize_gclab) {
ShenandoahThreadLocalData::initialize_gclab(worker);
}
Expand Down

0 comments on commit 48c2017

Please sign in to comment.