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/oops/RetData.java
/*
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.jvm.hotspot.oops;
import java.io.*;
import java.util.*;
import sun.jvm.hotspot.debugger.*;
import sun.jvm.hotspot.runtime.*;
import sun.jvm.hotspot.types.*;
import sun.jvm.hotspot.utilities.*;
// RetData
//
// A RetData is used to access profiling information for a ret bytecode.
// It is composed of a count of the number of times that the ret has
// been executed, followed by a series of triples of the form
// (bci, count, di) which count the number of times that some bci was the
// target of the ret and cache a corresponding data displacement.
public class RetData extends CounterData {
static final int bci0Offset = counterCellCount;
static final int count0Offset = bci0Offset + 1;
static final int displacement0Offset = count0Offset + 1;
static final int retRowCellCount = (displacement0Offset + 1) - bci0Offset;
public RetData(DataLayout layout) {
super(layout);
//assert(layout.tag() == DataLayout.retDataTag, "wrong type");
}
static final int noBci = -1; // value of bci when bci1/2 are not in use.
static int staticCellCount() {
return counterCellCount + MethodData.BciProfileWidth * retRowCellCount;
}
public int cellCount() {
return staticCellCount();
}
static int rowLimit() {
return MethodData.BciProfileWidth;
}
static int bciCellIndex(int row) {
return bci0Offset + row * retRowCellCount;
}
static int bciCountCellIndex(int row) {
return count0Offset + row * retRowCellCount;
}
static int bciDisplacementCellIndex(int row) {
return displacement0Offset + row * retRowCellCount;
}
// Direct accessors
int bci(int row) {
return intAt(bciCellIndex(row));
}
int bciCount(int row) {
return uintAt(bciCountCellIndex(row));
}
int bciDisplacement(int row) {
return intAt(bciDisplacementCellIndex(row));
}
// Code generation support
static int bciOffset(int row) {
return cellOffset(bciCellIndex(row));
}
static int bciCountOffset(int row) {
return cellOffset(bciCountCellIndex(row));
}
static int bciDisplacementOffset(int row) {
return cellOffset(bciDisplacementCellIndex(row));
}
public void printDataOn(PrintStream st) {
printShared(st, "RetData");
int row;
int entries = 0;
for (row = 0; row < rowLimit(); row++) {
if (bci(row) != noBci) entries++;
}
st.println("count(" + count() + ") entries(" + entries + ")");
for (row = 0; row < rowLimit(); row++) {
if (bci(row) != noBci) {
tab(st);
st.println(" bci(" + bci(row) + ": count(" + bciCount(row) + ") displacement(" + bciDisplacement(row) + "))");
}
}
}
}
⏎ sun/jvm/hotspot/oops/RetData.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, ≈99🔥, 0💬
Popular Posts:
What Is javaws.jar in JRE (Java Runtime Environment) 8? javaws.jar in JRE (Java Runtime Environment)...
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...
JDK 11 jdk.httpserver.jmod is the JMOD file for JDK 11 HTTP Server module. JDK 11 HTTP Server module...
What Is ojdbc7.jar for Oracle 12c R1? ojdbc7.jar for Oracle 12c R1 is the JAR files of ojdbc.jar, JD...
JSP(tm) Standard Tag Library 1.1 implementation - Jakarta Taglibs hosts the Standard Taglib 1.1, an ...