Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
JDK 11 jdk.hotspot.agent.jmod - Hotspot Agent Module
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module.
JDK 11 Hotspot Agent module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.hotspot.agent.jmod.
JDK 11 Hotspot Agent module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Hotspot Agent module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.hotspot.agent.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/jvm/hotspot/SALauncherLoader.java
/* * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package sun.jvm.hotspot; import java.io.*; import java.net.*; import java.util.*; import java.security.*; /** * SA uses native debugger back-end library - libsaproc.so on Unix platforms. * Starting from 5.0, in Solaris & Linux JDK "libsaproc.so" is shipped with JDK * and is kept jre/lib/cpu directory (where all other JDK platform libraries * are kept). This implies that always that jre copy of libsaproc.so will be * used and the copy of libsaproc.so built from SA sources here will not * be used at all. We can override libsaproc.so using this class loader * as System class loader using "java.system.class.loader" property. This * class loader loads classes paths specified paths using the System property * "java.class.path". Because, this class loader loads SA debugger classes * (among other classes), JVM calls findLibrary override here. In this * findLibrary, we first check the library in the directories specified through * "sa.library.path" System property. This way updated/latest SA native library * can be loaded instead of the one from JDK's jre/lib directory. */ public class SALauncherLoader extends URLClassLoader { /** * Checks native libraries under directories specified using * the System property "sa.library.path". */ public String findLibrary(String name) { name = System.mapLibraryName(name); for (int i = 0; i < libpaths.length; i++) { File file = new File(new File(libpaths[i]), name); if (file.exists()) { return file.getAbsolutePath(); } } return null; } public SALauncherLoader(ClassLoader parent) { super(getClassPath(), parent); String salibpath = System.getProperty("sa.library.path"); if (salibpath != null) { libpaths = salibpath.split(File.pathSeparator); } else { libpaths = new String[0]; } } /** * Override loadClass so we can checkPackageAccess. */ public synchronized Class loadClass(String name, boolean resolve) throws ClassNotFoundException { int i = name.lastIndexOf('.'); if (i != -1) { SecurityManager sm = System.getSecurityManager(); if (sm != null) { sm.checkPackageAccess(name.substring(0, i)); } } Class clazz = findLoadedClass(name); if (clazz != null) return clazz; /* * NOTE: Unlike 'usual' class loaders, we do *not* delegate to * the parent loader first. We attempt to load the class * ourselves first and use parent loader only if we can't load. * This is because the parent of this loader is 'default' * System loader that can 'see' all SA classes in classpath and * so will load those if delegated. And if parent loads SA classes, * then JVM won't call findNative override in this class. */ try { return findClass(name); } catch (ClassNotFoundException cnfe) { return (super.loadClass(name, resolve)); } } /** * allow any classes loaded from classpath to exit the VM. */ protected PermissionCollection getPermissions(CodeSource codesource) { PermissionCollection perms = super.getPermissions(codesource); perms.add(new RuntimePermission("exitVM")); return perms; } //-- Internals only below this point private String[] libpaths; private static URL[] getClassPath() { final String s = System.getProperty("java.class.path"); final File[] path = (s == null) ? new File[0] : getClassPath(s); return pathToURLs(path); } private static URL[] pathToURLs(File[] path) { URL[] urls = new URL[path.length]; for (int i = 0; i < path.length; i++) { urls[i] = getFileURL(path[i]); } return urls; } private static File[] getClassPath(String cp) { String[] tmp = cp.split(File.pathSeparator); File[] paths = new File[tmp.length]; for (int i = 0; i < paths.length; i++) { paths[i] = new File(tmp[i].equals("")? "." : tmp[i]); } return paths; } private static URL getFileURL(File file) { try { file = file.getCanonicalFile(); } catch (IOException e) { e.printStackTrace(); } try { return file.toURI().toURL(); } catch (MalformedURLException mue) { throw new InternalError(mue.getMessage()); } } }
⏎ sun/jvm/hotspot/SALauncherLoader.java
Or download all of them as a single archive file:
File name: jdk.hotspot.agent-11.0.1-src.zip File size: 1243786 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.httpserver.jmod - HTTP Server Module
2020-02-29, ≈182🔥, 0💬
Popular Posts:
JDK 11 jdk.scripting.nashorn.jm odis the JMOD file for JDK 11 Scripting Nashorn module. JDK 11 Scrip...
maven-embedder-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Embedder module. Apache Maven is a s...
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module. JDK 11 Naming module compiled cla...
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
JDK 11 jrt-fs.jar is the JAR file for JDK 11 JRT-FS (Java RunTime - File System) defined in the "jdk...