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.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/utilities/soql/JSJavaMethod.java
/* * Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package sun.jvm.hotspot.utilities.soql; import java.util.*; import sun.jvm.hotspot.oops.*; import sun.jvm.hotspot.runtime.*; /** * Wraps a Method* from the debuggee VM. */ public class JSJavaMethod extends JSMetadata { private static final int FIELD_NAME = 0; private static final int FIELD_SIGNATURE = 1; private static final int FIELD_HOLDER = 2; private static final int FIELD_IS_PRIVATE = 3; private static final int FIELD_IS_PUBLIC = 4; private static final int FIELD_IS_PROTECTED = 5; private static final int FIELD_IS_PACKAGE_PRIVATE = 6; private static final int FIELD_IS_STATIC = 7; private static final int FIELD_IS_FINAL = 8; private static final int FIELD_IS_SYNCHRONIZED = 9; private static final int FIELD_IS_NATIVE = 10; private static final int FIELD_IS_ABSTRACT = 11; private static final int FIELD_IS_STRICT = 12; private static final int FIELD_IS_SYNTHETIC = 13; private static final int FIELD_IS_OBSOLETE = 14; private static final int FIELD_UNDEFINED = -1; public JSJavaMethod(Method m, JSJavaFactory fac) { super(m, fac); } public final Method getMethod() { return (Method) getMetadata(); } public Object get(String name) { int fieldID = getFieldID(name); Method method = getMethod(); switch (fieldID) { case FIELD_NAME: return method.getName().asString(); case FIELD_SIGNATURE: return method.getSignature().asString(); case FIELD_HOLDER: return getMethodHolder(); case FIELD_IS_PRIVATE: return Boolean.valueOf(method.isPrivate()); case FIELD_IS_PUBLIC: return Boolean.valueOf(method.isPublic()); case FIELD_IS_PROTECTED: return Boolean.valueOf(method.isProtected()); case FIELD_IS_PACKAGE_PRIVATE: return Boolean.valueOf(method.isPackagePrivate()); case FIELD_IS_STATIC: return Boolean.valueOf(method.isStatic()); case FIELD_IS_FINAL: return Boolean.valueOf(method.isFinal()); case FIELD_IS_SYNCHRONIZED: return Boolean.valueOf(method.isSynchronized()); case FIELD_IS_NATIVE: return Boolean.valueOf(method.isNative()); case FIELD_IS_ABSTRACT: return Boolean.valueOf(method.isAbstract()); case FIELD_IS_STRICT: return Boolean.valueOf(method.isStrict()); case FIELD_IS_SYNTHETIC: return Boolean.valueOf(method.isSynthetic()); case FIELD_IS_OBSOLETE: return Boolean.valueOf(method.isObsolete()); case FIELD_UNDEFINED: default: return super.get(name); } } public Object[] getIds() { Object[] fieldNames = fields.keySet().toArray(); Object[] superFields = super.getIds(); Object[] res = new Object[fieldNames.length + superFields.length]; System.arraycopy(fieldNames, 0, res, 0, fieldNames.length); System.arraycopy(superFields, 0, res, fieldNames.length, superFields.length); return res; } public boolean has(String name) { if (getFieldID(name) != FIELD_UNDEFINED) { return true; } else { return super.has(name); } } public void put(String name, Object value) { if (getFieldID(name) != FIELD_UNDEFINED) { return; } else { super.put(name, value); } } public String toString() { StringBuffer buf = new StringBuffer(); buf.append("Method "); buf.append(getMethod().externalNameAndSignature()); return buf.toString(); } //-- Internals only below this point private JSJavaObject getMethodHolder() { Klass k = getMethod().getMethodHolder(); return factory.newJSJavaKlass(k).getJSJavaClass(); } private static Map fields = new HashMap(); private static void addField(String name, int fieldId) { fields.put(name, new Integer(fieldId)); } private static int getFieldID(String name) { Integer res = (Integer) fields.get(name); return (res != null)? res.intValue() : FIELD_UNDEFINED; } static { addField("name", FIELD_NAME); addField("signature", FIELD_SIGNATURE); addField("holder", FIELD_HOLDER); addField("isPrivate", FIELD_IS_PRIVATE); addField("isPublic", FIELD_IS_PUBLIC); addField("isProtected", FIELD_IS_PROTECTED); addField("isPackagePrivate", FIELD_IS_PACKAGE_PRIVATE); addField("isStatic", FIELD_IS_STATIC); addField("isFinal", FIELD_IS_FINAL); addField("isSynchronized", FIELD_IS_SYNCHRONIZED); addField("isNative", FIELD_IS_NATIVE); addField("isAbstract", FIELD_IS_ABSTRACT); addField("isStrict", FIELD_IS_STRICT); addField("isSynthetic", FIELD_IS_SYNTHETIC); addField("isObsolete", FIELD_IS_OBSOLETE); } }
⏎ sun/jvm/hotspot/utilities/soql/JSJavaMethod.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, 131726👍, 0💬
Popular Posts:
How to download and install JDK (Java Development Kit) 1.3? If you want to write Java applications, ...
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
JDK 11 jdk.internal.vm.compiler .jmodis the JMOD file for JDK 11 Internal VM Compiler module. JDK 11...
What Is commons-fileupload-1.3.3 .jar?commons-fileupload-1.3.3 .jaris the JAR file for Apache Common...
What Is XMLBeans xbean.jar 2.6.0? XMLBeans xbean.jar 2.6.0 is the JAR file for Apache XMLBeans 2.6.0...