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 17 jdk.hotspot.agent.jmod - Hotspot Agent Module
JDK 17 jdk.hotspot.agent.jmod is the JMOD file for JDK 17 Hotspot Agent module.
JDK 17 Hotspot Agent module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.hotspot.agent.jmod.
JDK 17 Hotspot Agent module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Hotspot Agent module source code files are stored in \fyicenter\jdk-17.0.5\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/dummy/DummyDebugger.java
/*
* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.debugger.dummy;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.cdbg.CDebugger;
import sun.jvm.hotspot.utilities.*;
/** For testing purposes */
public class DummyDebugger extends DebuggerBase {
private MachineDescription machDesc;
public DummyDebugger(MachineDescription machDesc) {
this.machDesc = machDesc;
}
public boolean hasProcessList() throws DebuggerException {
return false;
}
public List<ProcessInfo> getProcessList() throws DebuggerException {
return null;
}
public void attach(int processID) throws DebuggerException {
}
public void attach(String executableName, String coreFileName)
throws DebuggerException {
}
public boolean detach() {
return true;
}
public Address parseAddress(String addrStr) {
String s = addrStr.trim();
if (!s.startsWith("0x")) {
throw new NumberFormatException(addrStr);
}
long l = 0;
for (int i = 2; i < s.length(); ++i) {
int val = charToNibble(s.charAt(i));
l <<= 4;
l |= val;
}
return new DummyAddress(this, l);
}
public long getAddressValue(Address addr) {
if (addr == null) return 0;
return ((DummyAddress) addr).getValue();
}
public String getOS() {
return PlatformInfo.getOS();
}
public String getCPU() {
return PlatformInfo.getCPU();
}
public MachineDescription getMachineDescription() throws DebuggerException {
return machDesc;
}
public boolean hasConsole() {
return false;
}
public String consoleExecuteCommand(String cmd)
throws DebuggerException {
throw new DebuggerException("unimplemented");
}
public String getConsolePrompt() throws DebuggerException {
throw new DebuggerException("unimplemented");
}
public CDebugger getCDebugger() throws DebuggerException {
return null;
}
public Address lookup(String objectName, String symbol) {
return null;
}
public OopHandle lookupOop(String objectName, String symbol) {
return null;
}
public ThreadProxy getThreadForIdentifierAddress(Address addr) {
return null;
}
public ThreadProxy getThreadForThreadId(long id) {
return null;
}
public ReadResult readBytesFromProcess(long address, long numBytes)
throws DebuggerException {
throw new DebuggerException("Unimplemented");
}
public void writeBytesToProcess(long a, long b, byte[] buf)
throws DebuggerException {
throw new DebuggerException("Unimplemented");
}
//----------------------------------------------------------------------
// Package-internal routines
//
String addressToString(DummyAddress addr) {
StringBuilder buf = new StringBuilder();
buf.append("0x");
String val;
if (addr == null) {
val = "0";
} else {
val = Long.toHexString(addr.getValue());
}
for (int i = 0; i < ((2 * machDesc.getAddressSize()) - val.length()); i++) {
buf.append('0');
}
buf.append(val);
return buf.toString();
}
//----------------------------------------------------------------------
// Internals only below this point
//
private int charToNibble(char ascii) throws NumberFormatException {
if (ascii >= '0' && ascii <= '9') {
return ascii - '0';
} else if (ascii >= 'A' && ascii <= 'F') {
return 10 + ascii - 'A';
} else if (ascii >= 'a' && ascii <= 'f') {
return 10 + ascii - 'a';
}
throw new NumberFormatException(Character.toString(ascii));
}
}
⏎ sun/jvm/hotspot/debugger/dummy/DummyDebugger.java
Or download all of them as a single archive file:
File name: jdk.hotspot.agent-17.0.5-src.zip File size: 1238587 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.httpserver.jmod - HTTP Server Module
2023-10-04, ≈197🔥, 0💬
Popular Posts:
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms, it was develo...
commons-net.jar is the bytecode of Apache Commons Net library, which implements the client side of m...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....