< prev index next >
src/hotspot/share/classfile/classLoaderStats.hpp
Print this page
rev 58565 : 8238358: Implementation of JEP 371: Hidden Classes
Reviewed-by: duke
Contributed-by: mandy.chung@oracle.com, lois.foltan@oracle.com, david.holmes@oracle.com, harold.seigel@oracle.com, serguei.spitsyn@oracle.com, alex.buckley@oracle.com, jamsheed.c.m@oracle.com
*** 1,7 ****
/*
! * Copyright (c) 2014, 2019, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2014, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 79,98 ****
size_t _anon_chunk_sz;
size_t _anon_block_sz;
uintx _anon_classes_count;
ClassLoaderStats() :
_cld(0),
_class_loader(0),
_parent(0),
_chunk_sz(0),
_block_sz(0),
_classes_count(0),
_anon_chunk_sz(0),
_anon_block_sz(0),
! _anon_classes_count(0) {
}
};
class ClassLoaderStatsClosure : public CLDClosure {
--- 79,105 ----
size_t _anon_chunk_sz;
size_t _anon_block_sz;
uintx _anon_classes_count;
+ size_t _hidden_chunk_sz;
+ size_t _hidden_block_sz;
+ uintx _hidden_classes_count;
+
ClassLoaderStats() :
_cld(0),
_class_loader(0),
_parent(0),
_chunk_sz(0),
_block_sz(0),
_classes_count(0),
_anon_chunk_sz(0),
_anon_block_sz(0),
! _anon_classes_count(0),
! _hidden_chunk_sz(0),
! _hidden_block_sz(0),
! _hidden_classes_count(0) {
}
};
class ClassLoaderStatsClosure : public CLDClosure {
< prev index next >