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/debugger/win32/coff/TestParser.java
/*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.debugger.win32.coff;
public class TestParser {
public static void main(String[] args) {
if (args.length != 1) {
System.err.println("usage: java TestParser [file name]");
System.err.println("File name may be an .exe, .dll or .obj");
System.exit(1);
}
try {
COFFFile file = COFFFileParser.getParser().parse(args[0]);
if (file.isImage()) {
System.out.println("PE Image detected.");
} else {
System.out.println("PE Image NOT detected, assuming object file.");
}
COFFHeader header = file.getHeader();
int numSections = header.getNumberOfSections();
System.out.println(numSections + " sections detected.");
for (int i = 1; i <= numSections; i++) {
SectionHeader secHeader = header.getSectionHeader(i);
System.out.println(secHeader.getName());
}
// FIXME: the DLL exports are not contained in the COFF symbol
// table. Instead, they are in the Export Table, one of the
// Optional Header Data Directories available from the Optional
// Header. Must implement that next.
/*
int numSymbols = header.getNumberOfSymbols();
System.out.println(numSymbols + " symbols detected.");
System.out.println("Symbol dump:");
for (int i = 0; i < header.getNumberOfSymbols(); i++) {
COFFSymbol sym = header.getCOFFSymbol(i);
System.out.println(" " + sym.getName());
}
*/
// OK, let's give the exported symbols a shot
OptionalHeader optHdr = header.getOptionalHeader();
OptionalHeaderDataDirectories ddirs = optHdr.getDataDirectories();
ExportDirectoryTable exports = ddirs.getExportDirectoryTable();
System.out.println("Export flags (should be 0): " + exports.getExportFlags());
System.out.println("DLL name (from export directory table): " +
exports.getDLLName());
int numSymbols = exports.getNumberOfNamePointers();
System.out.println(numSymbols + " exported symbols detected:");
for (int i = 0; i < numSymbols; i++) {
System.out.println(" " + exports.getExportName(i));
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
⏎ sun/jvm/hotspot/debugger/win32/coff/TestParser.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, ≈272🔥, 0💬
Popular Posts:
JDK 17 jdk.internal.vm.ci.jmod is the JMOD file for JDK 17 Internal VM CI module. JDK 17 Internal VM...
Where to get the Java source code for Connector/J 8.0 Protocol Impl module? Java source code files f...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
xml-commons Resolver Source Code Files are provided in the source package file, xml-commons-resolver...
Apache Log4j provides the interface that applications should code to and provides the adapter compon...