OpenJDK / amber / amber
changeset 60638:ff19fd7429bd
8241419: Remove unused InterfaceSupport::_number_of_calls
Reviewed-by: dholmes
Contributed-by: jie.he@arm.com
author | yzhang |
---|---|
date | Thu, 26 Mar 2020 14:46:50 +0800 |
parents | a57bcb71fdaa |
children | 56b281f37868 |
files | src/hotspot/share/runtime/interfaceSupport.cpp src/hotspot/share/runtime/interfaceSupport.inline.hpp |
diffstat | 2 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/runtime/interfaceSupport.cpp Thu Mar 26 10:10:37 2020 +0800 +++ b/src/hotspot/share/runtime/interfaceSupport.cpp Thu Mar 26 14:46:50 2020 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2020, 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 @@ -74,7 +74,6 @@ if (GCALotAtAllSafepoints) InterfaceSupport::check_gc_alot(); } -long InterfaceSupport::_number_of_calls = 0; long InterfaceSupport::_scavenge_alot_counter = 1; long InterfaceSupport::_fullgc_alot_counter = 1; long InterfaceSupport::_fullgc_alot_invocation = 0;
--- a/src/hotspot/share/runtime/interfaceSupport.inline.hpp Thu Mar 26 10:10:37 2020 +0800 +++ b/src/hotspot/share/runtime/interfaceSupport.inline.hpp Thu Mar 26 14:46:50 2020 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2020, 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 @@ -50,7 +50,6 @@ public: static long _scavenge_alot_counter; static long _fullgc_alot_counter; - static long _number_of_calls; static long _fullgc_alot_invocation; // Helper methods used to implement +ScavengeALot and +FullGCALot @@ -354,7 +353,6 @@ #ifdef ASSERT #define TRACE_CALL(result_type, header) \ - InterfaceSupport::_number_of_calls++; \ if (CountRuntimeCalls) { \ static RuntimeHistogramElement* e = new RuntimeHistogramElement(#header); \ if (e != NULL) e->increment_count(); \