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/windbg/AddressDataSource.java
/*
* Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.debugger.windbg;
import java.io.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.debugger.win32.coff.*;
public class AddressDataSource implements DataSource {
public AddressDataSource(Address addr) {
this.addr = addr;
offset = 0;
}
public byte readByte() throws IOException {
try {
byte res = (byte) addr.getCIntegerAt(offset, 1, false);
++offset;
return res;
} catch (UnmappedAddressException e) {
throw (IOException) new IOException("Unmapped address at 0x" + Long.toHexString(e.getAddress())).initCause(e);
} catch (DebuggerException e) {
throw (IOException) new IOException().initCause(e);
}
}
public short readShort() throws IOException {
// NOTE: byte swapping is taken care of at the COFFFileImpl level
int b1 = readByte() & 0xFF;
int b2 = readByte() & 0xFF;
return (short) ((b1 << 8) | b2);
}
public int readInt() throws IOException {
// NOTE: byte swapping is taken care of at the COFFFileImpl level
int b1 = ((int) readByte()) & 0xFF;
int b2 = ((int) readByte()) & 0xFF;
int b3 = ((int) readByte()) & 0xFF;
int b4 = ((int) readByte()) & 0xFF;
return ((b1 << 24) | (b2 << 16) | (b3 << 8) | b4);
}
public long readLong() throws IOException {
// NOTE: byte swapping is taken care of at the COFFFileImpl level
long b1 = ((long) readByte()) & 0xFFL;
long b2 = ((long) readByte()) & 0xFFL;
long b3 = ((long) readByte()) & 0xFFL;
long b4 = ((long) readByte()) & 0xFFL;
long b5 = ((long) readByte()) & 0xFFL;
long b6 = ((long) readByte()) & 0xFFL;
long b7 = ((long) readByte()) & 0xFFL;
long b8 = ((long) readByte()) & 0xFFL;
return (((((b1 << 24) | (b2 << 16) | (b3 << 8) | b4)) << 32) |
((((b5 << 24) | (b6 << 16) | (b7 << 8) | b8))));
}
public int read(byte[] b) throws IOException {
for (int i = 0; i < b.length; i++) {
b[i] = readByte();
}
return b.length;
}
public void seek(long pos) throws IOException {
offset = pos;
}
public long getFilePointer() throws IOException {
return offset;
}
public void close() throws IOException {
}
private Address addr;
private long offset;
}
⏎ sun/jvm/hotspot/debugger/windbg/AddressDataSource.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, ≈186🔥, 0💬
Popular Posts:
JDK 17 java.naming.jmod is the JMOD file for JDK 17 Naming module. JDK 17 Naming module compiled cla...
JDK 11 jrt-fs.jar is the JAR file for JDK 11 JRT-FS (Java RunTime - File System) defined in the "jdk...
JDK 11 jdk.jdi.jmod is the JMOD file for JDK 11 JDI (Java Debug Interface) tool. JDK 11 JDI tool com...
What Is commons-lang3-3.1.jar? commons-lang3-3.1.jar is the JAR file for Apache Commons Lang 3.1, wh...
What is the jaxp\TypeInfoWriter.java provided in the Apache Xerces package? I have Apache Xerces 2.1...