Skip to content

Commit 9eb15c9

Browse files
committedMay 14, 2022
8286681: ShenandoahControlThread::request_gc misses the case of GCCause::_codecache_GC_threshold
Reviewed-by: zgu
1 parent e4378ab commit 9eb15c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/hotspot/share/gc/shenandoah/shenandoahControlThread.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/*
22
* Copyright (c) 2013, 2021, Red Hat, Inc. All rights reserved.
3+
* Copyright (C) 2022 THL A29 Limited, a Tencent company. All rights reserved.
34
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
45
*
56
* This code is free software; you can redistribute it and/or modify it
@@ -478,6 +479,7 @@ void ShenandoahControlThread::request_gc(GCCause::Cause cause) {
478479
assert(GCCause::is_user_requested_gc(cause) ||
479480
GCCause::is_serviceability_requested_gc(cause) ||
480481
cause == GCCause::_metadata_GC_clear_soft_refs ||
482+
cause == GCCause::_codecache_GC_threshold ||
481483
cause == GCCause::_full_gc_alot ||
482484
cause == GCCause::_wb_full_gc ||
483485
cause == GCCause::_wb_breakpoint ||

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on May 14, 2022

@openjdk-notifier[bot]
Please sign in to comment.