1 /*
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
190 static PerfCounter* _perf_class_parse_selftime;
191 static PerfCounter* _perf_sys_class_lookup_time;
192 static PerfCounter* _perf_shared_classload_time;
193 static PerfCounter* _perf_sys_classload_time;
194 static PerfCounter* _perf_app_classload_time;
195 static PerfCounter* _perf_app_classload_selftime;
196 static PerfCounter* _perf_app_classload_count;
197 static PerfCounter* _perf_define_appclasses;
198 static PerfCounter* _perf_define_appclass_time;
199 static PerfCounter* _perf_define_appclass_selftime;
200 static PerfCounter* _perf_app_classfile_bytes_read;
201 static PerfCounter* _perf_sys_classfile_bytes_read;
202
203 static PerfCounter* _sync_systemLoaderLockContentionRate;
204 static PerfCounter* _sync_nonSystemLoaderLockContentionRate;
205 static PerfCounter* _sync_JVMFindLoadedClassLockFreeCounter;
206 static PerfCounter* _sync_JVMDefineClassLockFreeCounter;
207 static PerfCounter* _sync_JNIDefineClassLockFreeCounter;
208
209 static PerfCounter* _unsafe_defineClassCallCounter;
210 static PerfCounter* _isUnsyncloadClass;
211 static PerfCounter* _load_instance_class_failCounter;
212
213 // The boot class path consists of 3 ordered pieces:
214 // 1. the module/path pairs specified to --patch-module
215 // --patch-module=<module>=<file>(<pathsep><file>)*
216 // 2. the base piece
217 // [jimage | build with exploded modules]
218 // 3. boot loader append path
219 // [-Xbootclasspath/a]; [jvmti appended entries]
220 //
221 // The boot loader must obey this order when attempting
222 // to load a class.
223
224 // 1. Contains the module/path pairs specified to --patch-module
225 static GrowableArray<ModuleClassPathList*>* _patch_mod_entries;
226
227 // 2. the base piece
228 // Contains the ClassPathEntry of the modular java runtime image.
229 // If no java runtime image is present, this indicates a
230 // build with exploded modules is being used instead.
|
1 /*
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
190 static PerfCounter* _perf_class_parse_selftime;
191 static PerfCounter* _perf_sys_class_lookup_time;
192 static PerfCounter* _perf_shared_classload_time;
193 static PerfCounter* _perf_sys_classload_time;
194 static PerfCounter* _perf_app_classload_time;
195 static PerfCounter* _perf_app_classload_selftime;
196 static PerfCounter* _perf_app_classload_count;
197 static PerfCounter* _perf_define_appclasses;
198 static PerfCounter* _perf_define_appclass_time;
199 static PerfCounter* _perf_define_appclass_selftime;
200 static PerfCounter* _perf_app_classfile_bytes_read;
201 static PerfCounter* _perf_sys_classfile_bytes_read;
202
203 static PerfCounter* _sync_systemLoaderLockContentionRate;
204 static PerfCounter* _sync_nonSystemLoaderLockContentionRate;
205 static PerfCounter* _sync_JVMFindLoadedClassLockFreeCounter;
206 static PerfCounter* _sync_JVMDefineClassLockFreeCounter;
207 static PerfCounter* _sync_JNIDefineClassLockFreeCounter;
208
209 static PerfCounter* _unsafe_defineClassCallCounter;
210 static PerfCounter* _load_instance_class_failCounter;
211
212 // The boot class path consists of 3 ordered pieces:
213 // 1. the module/path pairs specified to --patch-module
214 // --patch-module=<module>=<file>(<pathsep><file>)*
215 // 2. the base piece
216 // [jimage | build with exploded modules]
217 // 3. boot loader append path
218 // [-Xbootclasspath/a]; [jvmti appended entries]
219 //
220 // The boot loader must obey this order when attempting
221 // to load a class.
222
223 // 1. Contains the module/path pairs specified to --patch-module
224 static GrowableArray<ModuleClassPathList*>* _patch_mod_entries;
225
226 // 2. the base piece
227 // Contains the ClassPathEntry of the modular java runtime image.
228 // If no java runtime image is present, this indicates a
229 // build with exploded modules is being used instead.
|