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/asm/Disassembler.java
/* * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package sun.jvm.hotspot.asm; import java.io.PrintStream; import java.util.Observer; import java.util.Observable; import sun.jvm.hotspot.code.CodeBlob; import sun.jvm.hotspot.code.NMethod; import sun.jvm.hotspot.debugger.Address; import sun.jvm.hotspot.runtime.VM; public class Disassembler { private static String options = ""; private static long decode_function; protected long startPc; protected byte[] code; private CodeBlob blob; private NMethod nmethod; public static void decode(InstructionVisitor visitor, CodeBlob blob) { decode(visitor, blob, blob.codeBegin(), blob.codeEnd()); } public static void decode(InstructionVisitor visitor, CodeBlob blob, Address begin, Address end) { int codeSize = (int)end.minus(begin); long startPc = VM.getAddressValue(begin); byte[] code = new byte[codeSize]; for (int i = 0; i < code.length; i++) code[i] = begin.getJByteAt(i); Disassembler dis = new Disassembler(startPc, code); dis.decode(visitor); } private Disassembler(long startPc, byte[] code) { this.startPc = startPc; this.code = code; // Lazily load hsdis if (decode_function == 0) { StringBuilder path = new StringBuilder(System.getProperty("java.home")); String sep = System.getProperty("file.separator"); String os = System.getProperty("os.name"); String libname = "hsdis"; String arch = System.getProperty("os.arch"); if (os.lastIndexOf("Windows", 0) != -1) { if (arch.equals("x86")) { libname += "-i386"; } else if (arch.equals("amd64")) { libname += "-amd64"; } else { libname += "-" + arch; } path.append(sep + "bin" + sep); libname += ".dll"; } else if (os.lastIndexOf("SunOS", 0) != -1) { if (arch.equals("x86") || arch.equals("i386")) { path.append(sep + "lib" + sep + "i386" + sep); libname += "-i386" + ".so"; } else if (arch.equals("amd64")) { path.append(sep + "lib" + sep + "amd64" + sep); libname += "-amd64" + ".so"; } else { path.append(sep + "lib" + sep + arch + sep); libname += "-" + arch + ".so"; } } else if (os.lastIndexOf("Linux", 0) != -1) { if (arch.equals("x86") || arch.equals("i386")) { path.append(sep + "lib" + sep + "i386" + sep); libname += "-i386.so"; } else if (arch.equals("amd64") || arch.equals("x86_64")) { path.append(sep + "lib" + sep + "amd64" + sep); libname += "-amd64.so"; } else { path.append(sep + "lib" + sep + arch + sep); libname += "-" + arch + ".so"; } } else if (os.lastIndexOf("Mac OS X", 0) != -1) { path.append(sep + "lib" + sep); libname += "-amd64" + ".dylib"; // x86_64 => amd64 } else { path.append(sep + "lib" + sep + "arch" + sep); libname += "-" + arch + ".so"; } decode_function = load_library(path.toString(), libname); } } private static native long load_library(String installed_jrepath, String hsdis_library_name); private native void decode(InstructionVisitor visitor, long pc, byte[] code, String options, long decode_function); private void decode(InstructionVisitor visitor) { visitor.prologue(); decode(visitor, startPc, code, options, decode_function); visitor.epilogue(); } private boolean match(String event, String tag) { if (!event.startsWith(tag)) return false; int taglen = tag.length(); if (taglen == event.length()) return true; char delim = event.charAt(taglen); return delim == ' ' || delim == '/' || delim == '='; } // This is called from the native code to process various markers // in the dissassembly. private long handleEvent(InstructionVisitor visitor, String event, long arg) { if (match(event, "insn")) { try { visitor.beginInstruction(arg); } catch (Throwable e) { e.printStackTrace(); } } else if (match(event, "/insn")) { try { visitor.endInstruction(arg); } catch (Throwable e) { e.printStackTrace(); } } else if (match(event, "addr")) { if (arg != 0) { visitor.printAddress(arg); } return arg; } else if (match(event, "mach")) { // output().printf("[Disassembling for mach='%s']\n", arg); } else { // ignore unrecognized markup } return 0; } // This called from the native code to perform printing private void rawPrint(InstructionVisitor visitor, String s) { visitor.print(s); } }
⏎ sun/jvm/hotspot/asm/Disassembler.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, 144802👍, 0💬
Popular Posts:
What Is javamail1_1_3.zip? javamail1_1_3.zip is the binary package of JavaMail API 1.1.3 in ZIP form...
What JAR files are required to run dom\Writer.java provided in the Apache Xerces package? 3 JAR file...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
maven-compat-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Compact module. The JAR file name may ...
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...