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/runtime/NativeSignatureIterator.java
/*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.runtime;
import sun.jvm.hotspot.oops.*;
/** Specialized SignatureIterator: Used for native call purposes */
public abstract class NativeSignatureIterator extends SignatureIterator {
private Method method;
// [RGV] We need seperate JNI and Java offset values because in 64 bit mode, the argument offsets
// are not in sync with the Java stack. For example a long takes up 1 "C" stack entry
// but 2 Java stack entries.
private int offset; // The java stack offset
private int prepended; // number of prepended JNI parameters (1 JNIEnv, plus 1 mirror if static)
private int jni_offset; // the current parameter offset, starting with 0
public void doBool () { passInt(); jni_offset++; offset++; }
public void doChar () { passInt(); jni_offset++; offset++; }
public void doFloat () {
if (VM.getVM().isLP64()) {
passFloat();
} else {
passInt();
}
jni_offset++; offset++;
}
public void doDouble() {
if (VM.getVM().isLP64()) {
passDouble(); jni_offset++; offset += 2;
} else {
passDouble(); jni_offset += 2; offset += 2;
}
}
public void doByte () { passInt(); jni_offset++; offset++; }
public void doShort () { passInt(); jni_offset++; offset++; }
public void doInt () { passInt(); jni_offset++; offset++; }
public void doLong () {
if (VM.getVM().isLP64()) {
passLong(); jni_offset++; offset += 2;
} else {
passLong(); jni_offset += 2; offset += 2;
}
}
public void doVoid () { throw new RuntimeException("should not reach here"); }
public void doObject(int begin, int end) { passObject(); jni_offset++; offset++; }
public void doArray (int begin, int end) { passObject(); jni_offset++; offset++; }
public Method method() { return method; }
public int offset() { return offset; }
public int jniOffset() { return jni_offset + prepended; }
public boolean isStatic() { return method.isStatic(); }
public abstract void passInt();
public abstract void passLong();
public abstract void passObject();
public abstract void passFloat();
public abstract void passDouble();
public NativeSignatureIterator(Method method) {
super(method.getSignature());
this.method = method;
offset = 0;
jni_offset = 0;
int JNIEnv_words = 1;
int mirror_words = 1;
prepended = !isStatic() ? JNIEnv_words : JNIEnv_words + mirror_words;
}
// iterate() calles the 2 virtual methods according to the following invocation syntax:
//
// {pass_int | pass_long | pass_object}
//
// Arguments are handled from left to right (receiver first, if any).
// The offset() values refer to the Java stack offsets but are 0 based and increasing.
// The java_offset() values count down to 0, and refer to the Java TOS.
// The jni_offset() values increase from 1 or 2, and refer to C arguments.
public void iterate() {
if (!isStatic()) {
// handle receiver (not handled by iterate because not in signature)
passObject(); jni_offset++; offset++;
}
iterateParameters();
}
}
⏎ sun/jvm/hotspot/runtime/NativeSignatureIterator.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, ≈221🔥, 0💬
Popular Posts:
What JAR files are required to run sax\Writer.java provided in the Apache Xerces package? 1 JAR file...
Apache Log4j provides the interface that applications should code to and provides the adapter compon...
Apache Commons CLI Source Code Files are provided in the source package file commons-cli-1.5.0-sourc. ..
JDK 17 jdk.jfr.jmod is the JMOD file for JDK 17 JFR module. JDK 17 JFR module compiled class files a...
JDK 17 jdk.localedata.jmod is the JMOD file for JDK 17 Localedata module. JDK 17 Locale Data module ...