mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8232759: Remove GC.class_stats
Make the GC.class_stats option obsolete Reviewed-by: dholmes, iklam
This commit is contained in:
parent
943b87ddde
commit
016b0f0caa
28 changed files with 90 additions and 823 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 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
|
||||
|
@ -29,7 +29,6 @@
|
|||
#include "interpreter/bytecode.hpp"
|
||||
#include "interpreter/bytecodeStream.hpp"
|
||||
#include "interpreter/linkResolver.hpp"
|
||||
#include "memory/heapInspection.hpp"
|
||||
#include "memory/metaspaceClosure.hpp"
|
||||
#include "memory/resourceArea.hpp"
|
||||
#include "oops/methodData.inline.hpp"
|
||||
|
@ -1576,16 +1575,6 @@ void MethodData::print_data_on(outputStream* st) const {
|
|||
}
|
||||
}
|
||||
|
||||
#if INCLUDE_SERVICES
|
||||
// Size Statistics
|
||||
void MethodData::collect_statistics(KlassSizeStats *sz) const {
|
||||
int n = sz->count(this);
|
||||
sz->_method_data_bytes += n;
|
||||
sz->_method_all_bytes += n;
|
||||
sz->_rw_bytes += n;
|
||||
}
|
||||
#endif // INCLUDE_SERVICES
|
||||
|
||||
// Verification
|
||||
|
||||
void MethodData::verify_on(outputStream* st) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue