Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.management.jmod - Management Module
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module.
JDK 11 Management module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.management.jmod.
JDK 11 Management module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Management module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.management.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/management/HotspotCompilation.java
/* * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.management; import java.util.regex.*; import java.util.List; import java.util.ListIterator; import java.util.Iterator; import java.util.ArrayList; import java.util.Map; import java.util.TreeMap; import sun.management.counter.*; /** * Implementation class of HotspotCompilationMBean interface. * * Internal, uncommitted management interface for Hotspot compilation * system. * */ class HotspotCompilation implements HotspotCompilationMBean { private VMManagement jvm; /** * Constructor of HotspotRuntime class. */ HotspotCompilation(VMManagement vm) { jvm = vm; initCompilerCounters(); } // Performance counter support private static final String JAVA_CI = "java.ci."; private static final String COM_SUN_CI = "com.sun.ci."; private static final String SUN_CI = "sun.ci."; private static final String CI_COUNTER_NAME_PATTERN = JAVA_CI + "|" + COM_SUN_CI + "|" + SUN_CI; private LongCounter compilerThreads; private LongCounter totalCompiles; private LongCounter totalBailouts; private LongCounter totalInvalidates; private LongCounter nmethodCodeSize; private LongCounter nmethodSize; private StringCounter lastMethod; private LongCounter lastSize; private LongCounter lastType; private StringCounter lastFailedMethod; private LongCounter lastFailedType; private StringCounter lastInvalidatedMethod; private LongCounter lastInvalidatedType; private class CompilerThreadInfo { String name; StringCounter method; LongCounter type; LongCounter compiles; LongCounter time; CompilerThreadInfo(String bname, int index) { String basename = bname + "." + index + "."; this.name = bname + "-" + index; this.method = (StringCounter) lookup(basename + "method"); this.type = (LongCounter) lookup(basename + "type"); this.compiles = (LongCounter) lookup(basename + "compiles"); this.time = (LongCounter) lookup(basename + "time"); } @SuppressWarnings("deprecation") CompilerThreadStat getCompilerThreadStat() { MethodInfo minfo = new MethodInfo(method.stringValue(), (int) type.longValue(), -1); return new CompilerThreadStat(name, compiles.longValue(), time.longValue(), minfo); } } private List<CompilerThreadInfo> threads; private int numActiveThreads; // number of active compiler threads private Map<String, Counter> counters; private Counter lookup(String name) { Counter c = null; // Only one counter exists with the specified name in the // current implementation. We first look up in the SUN_CI namespace // since most counters are in SUN_CI namespace. if ((c = counters.get(SUN_CI + name)) != null) { return c; } if ((c = counters.get(COM_SUN_CI + name)) != null) { return c; } if ((c = counters.get(JAVA_CI + name)) != null) { return c; } // FIXME: should tolerate if counter doesn't exist throw new AssertionError("Counter " + name + " does not exist"); } private void initCompilerCounters() { // Build a tree map of the current list of performance counters counters = new TreeMap<>(); for (Counter c: getInternalCompilerCounters()) { counters.put(c.getName(), c); } compilerThreads = (LongCounter) lookup("threads"); totalCompiles = (LongCounter) lookup("totalCompiles"); totalBailouts = (LongCounter) lookup("totalBailouts"); totalInvalidates = (LongCounter) lookup("totalInvalidates"); nmethodCodeSize = (LongCounter) lookup("nmethodCodeSize"); nmethodSize = (LongCounter) lookup("nmethodSize"); lastMethod = (StringCounter) lookup("lastMethod"); lastSize = (LongCounter) lookup("lastSize"); lastType = (LongCounter) lookup("lastType"); lastFailedMethod = (StringCounter) lookup("lastFailedMethod"); lastFailedType = (LongCounter) lookup("lastFailedType"); lastInvalidatedMethod = (StringCounter) lookup("lastInvalidatedMethod"); lastInvalidatedType = (LongCounter) lookup("lastInvalidatedType"); numActiveThreads = (int) compilerThreads.longValue(); // Allocate CompilerThreadInfo for compilerThread and adaptorThread threads = new ArrayList<CompilerThreadInfo>(); for (int i = 0; i < numActiveThreads; i++) { if (counters.containsKey(SUN_CI + "compilerThread." + i + ".method")) { threads.add(new CompilerThreadInfo("compilerThread", i)); } } } public int getCompilerThreadCount() { return numActiveThreads; } public long getTotalCompileCount() { return totalCompiles.longValue(); } public long getBailoutCompileCount() { return totalBailouts.longValue(); } public long getInvalidatedCompileCount() { return totalInvalidates.longValue(); } public long getCompiledMethodCodeSize() { return nmethodCodeSize.longValue(); } public long getCompiledMethodSize() { return nmethodSize.longValue(); } @Deprecated public List<CompilerThreadStat> getCompilerThreadStats() { List<CompilerThreadStat> list = new ArrayList<>(threads.size()); for (CompilerThreadInfo info : threads) { list.add(info.getCompilerThreadStat()); } return list; } public MethodInfo getLastCompile() { return new MethodInfo(lastMethod.stringValue(), (int) lastType.longValue(), (int) lastSize.longValue()); } public MethodInfo getFailedCompile() { return new MethodInfo(lastFailedMethod.stringValue(), (int) lastFailedType.longValue(), -1); } public MethodInfo getInvalidatedCompile() { return new MethodInfo(lastInvalidatedMethod.stringValue(), (int) lastInvalidatedType.longValue(), -1); } public java.util.List<Counter> getInternalCompilerCounters() { return jvm.getInternalCounters(CI_COUNTER_NAME_PATTERN); } }
⏎ sun/management/HotspotCompilation.java
Or download all of them as a single archive file:
File name: java.management-11.0.1-src.zip File size: 828174 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.management.rmi.jmod - Management RMI Module
2020-04-30, 86755👍, 0💬
Popular Posts:
How to download and install ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is a Java 5 J...
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
XML Serializer, Release 2.7.1, allows you to write out XML, HTML etc. as a stream of characters from...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
How to download and install iText7-Core-7.1.4.zip? iText7-Core-7.1.4.zip is the binary package of iT...