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 jdk.internal.jvmstat.jmod - Internal JVM Stat Module
JDK 11 jdk.internal.JVM Stat.jmod is the JMOD file for JDK 11 Internal Jvmstat module.
JDK 11 Internal JVM Stat module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.internal.jvmstat.jmod.
JDK 11 Internal JVM Stat module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Internal JVM Stat module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.internal.jvmstat.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/jvmstat/PlatformSupport.java
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package sun.jvmstat; import java.io.File; import java.lang.reflect.Constructor; import java.util.List; import jdk.internal.vm.VMSupport; /* * Support routines handling temp directory locating * and process ID extraction. */ public class PlatformSupport { private static final String tmpDirName; static { /* * For this to work, the target VM and this code need to use * the same directory. Instead of guessing which directory the * VM is using, we will ask. */ String tmpdir = VMSupport.getVMTemporaryDirectory(); /* * Assure that the string returned has a trailing File.separator * character. This check was added because the Linux implementation * changed such that the java.io.tmpdir string no longer terminates * with a File.separator character. */ if (tmpdir.lastIndexOf(File.separator) != (tmpdir.length()-1)) { tmpdir = tmpdir + File.separator; } tmpDirName = tmpdir; } public static PlatformSupport getInstance() { try { Class<?> c = Class.forName("sun.jvmstat.PlatformSupportImpl"); @SuppressWarnings("unchecked") Constructor<PlatformSupport> cntr = (Constructor<PlatformSupport>) c.getConstructor(); return cntr.newInstance(); } catch (ClassNotFoundException e) { return new PlatformSupport(); } catch (ReflectiveOperationException e) { throw new InternalError(e); } } // package-private PlatformSupport() {} /* * Return the OS specific temporary directory */ public static String getTemporaryDirectory() { return tmpDirName; } /* * Return a list of the temporary directories that the VM uses * for the attach and perf data files. This function returns * the traditional temp directory in addition to any paths * accessible by the host which map to temp directories used * by containers. The container functionality is only currently * supported on Linux platforms. * * It is important that this directory is well-known and the * same for all VM instances. It cannot be affected by configuration * variables such as java.io.tmpdir. */ public List<String> getTemporaryDirectories(int vmid) { // Add the default temporary directory only return List.of(tmpDirName); } /* * Extract the host PID from a file path. */ public int getLocalVmId(File file) throws NumberFormatException { return Integer.parseInt(file.getName()); } /* * Return the inner most namespaced PID if there is one, * otherwise return the original PID. */ public int getNamespaceVmId(int pid) { return pid; } }
⏎ sun/jvmstat/PlatformSupport.java
Or download all of them as a single archive file:
File name: jdk.internal.jvmstat-11.0.1-src.zip File size: 86147 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.internal.le.jmod - Internal Line Editing Module
2020-08-02, 25607👍, 0💬
Popular Posts:
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.6.1-src.zip...
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...
What Is poi-scratchpad-5.2.3.jar ?poi-scratchpad-5.2.3.jar is one of the JAR files for Apache POI 5....
Jaxen, Release 1.1.1, is an open source XPath library written in Java. It is adaptable to many diffe...
How to run "jar" command from JDK tools.jar file? "jar" is the JAR (Java Archive) file management co...