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/tools/StackTrace.java
/*
* Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.tools;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.oops.*;
/** Traverses and prints the stack traces for all Java threads in the
* remote VM */
public class StackTrace extends Tool {
// in non-verbose mode pc, sp and Method* are not printed
public StackTrace(boolean v, boolean concurrentLocks) {
this.verbose = v;
this.concurrentLocks = concurrentLocks;
}
public StackTrace() {
this(true, true);
}
public void run() {
run(System.out);
}
public StackTrace(JVMDebugger d) {
super(d);
}
public StackTrace(JVMDebugger d, boolean v, boolean concurrentLocks) {
super(d);
this.verbose = v;
this.concurrentLocks = concurrentLocks;
}
public void run(java.io.PrintStream tty) {
// Ready to go with the database...
try {
// print deadlock information before stack trace
DeadlockDetector.print(tty);
} catch (Exception exp) {
exp.printStackTrace();
tty.println("Can't print deadlocks:" + exp.getMessage());
}
try {
ConcurrentLocksPrinter concLocksPrinter = null;
if (concurrentLocks) {
concLocksPrinter = new ConcurrentLocksPrinter();
}
Threads threads = VM.getVM().getThreads();
int i = 1;
for (JavaThread cur = threads.first(); cur != null; cur = cur.next(), i++) {
if (cur.isJavaThread()) {
cur.printThreadInfoOn(tty);
try {
int count = 0;
for (JavaVFrame vf = cur.getLastJavaVFrameDbg(); vf != null; vf = vf.javaSender()) {
Method method = vf.getMethod();
tty.print(" - " + method.externalNameAndSignature() +
" @bci=" + vf.getBCI());
int lineNumber = method.getLineNumberFromBCI(vf.getBCI());
if (lineNumber != -1) {
tty.print(", line=" + lineNumber);
}
if (verbose) {
Address pc = vf.getFrame().getPC();
if (pc != null) {
tty.print(", pc=" + pc);
}
tty.print(", Method*=" + method.getAddress());
}
if (vf.isCompiledFrame()) {
tty.print(" (Compiled frame");
if (vf.isDeoptimized()) {
tty.print(" [deoptimized]");
}
}
if (vf.isInterpretedFrame()) {
tty.print(" (Interpreted frame");
}
if (vf.mayBeImpreciseDbg()) {
tty.print("; information may be imprecise");
}
tty.println(")");
vf.printLockInfo(tty, count++);
}
} catch (Exception e) {
tty.println("Error occurred during stack walking:");
e.printStackTrace();
}
tty.println();
if (concurrentLocks) {
concLocksPrinter.print(cur, tty);
}
tty.println();
}
}
}
catch (AddressException e) {
System.err.println("Error accessing address 0x" + Long.toHexString(e.getAddress()));
e.printStackTrace();
}
}
public static void main(String[] args) {
StackTrace st = new StackTrace();
st.execute(args);
}
private boolean verbose;
private boolean concurrentLocks;
}
⏎ sun/jvm/hotspot/tools/StackTrace.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, ≈408🔥, 0💬
Popular Posts:
JDK 11 jdk.jdeps.jmod is the JMOD file for JDK 11 JDeps tool, which can be invoked by the "jdeps" co...
maven-model-builder-3.5. 4.jaris the JAR file for Apache Maven 3.5.4 Model Builder module. Apache Ma...
JDK 11 jdk.localedata.jmod is the JMOD file for JDK 11 Localedata module. JDK 11 Locale Data module ...
JDK 11 java.smartcardio.jmod is the JMOD file for JDK 11 Smartcardio module. JDK 11 Smart Card IO mo...
JDK 11 jdk.aot.jmod is the JMOD file for JDK 11 Ahead-of-Time (AOT) Compiler module. JDK 11 AOT Comp...