mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8258912: Remove JVM options CountJNICalls and CountJVMCalls
Reviewed-by: coleenp, lfoltan, shade
This commit is contained in:
parent
be57cf149e
commit
38a1201746
11 changed files with 6 additions and 708 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2021, 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
|
||||
|
@ -76,7 +76,6 @@
|
|||
#include "services/memTracker.hpp"
|
||||
#include "utilities/dtrace.hpp"
|
||||
#include "utilities/globalDefinitions.hpp"
|
||||
#include "utilities/histogram.hpp"
|
||||
#include "utilities/macros.hpp"
|
||||
#include "utilities/vmError.hpp"
|
||||
#ifdef COMPILER1
|
||||
|
@ -206,25 +205,6 @@ void print_bytecode_count() {
|
|||
|
||||
// General statistics printing (profiling ...)
|
||||
void print_statistics() {
|
||||
#ifdef ASSERT
|
||||
|
||||
if (CountRuntimeCalls) {
|
||||
extern Histogram *RuntimeHistogram;
|
||||
RuntimeHistogram->print();
|
||||
}
|
||||
|
||||
if (CountJNICalls) {
|
||||
extern Histogram *JNIHistogram;
|
||||
JNIHistogram->print();
|
||||
}
|
||||
|
||||
if (CountJVMCalls) {
|
||||
extern Histogram *JVMHistogram;
|
||||
JVMHistogram->print();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (MemProfiling) {
|
||||
MemProfiler::disengage();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue