File tree 1 file changed +6
-1
lines changed
src/hotspot/share/logging
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2015, 2021 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2015, 2022 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -334,6 +334,11 @@ void LogOutput::update_config_string(const size_t on_level[LogLevel::Count]) {
334
334
335
335
assert (n_deviates < deviating_tagsets, " deviating tag set array overflow" );
336
336
assert (prev_deviates > n_deviates, " number of deviating tag sets must never grow" );
337
+
338
+ if (n_deviates == 1 && n_selections == 0 ) {
339
+ // we're done as we couldn't reduce things any further
340
+ break ;
341
+ }
337
342
}
338
343
FREE_C_HEAP_ARRAY (LogTagSet*, deviates);
339
344
FREE_C_HEAP_ARRAY (Selection, selections);
You can’t perform that action at this time.
0 commit comments