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/oops/MultiBranchData.java
/*
* Copyright (c) 2011, 2012, 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.*;
// MultiBranchData
//
// A MultiBranchData is used to access profiling information for
// a multi-way branch (*switch bytecodes). It consists of a series
// of (count, displacement) pairs, which count the number of times each
// case was taken and specify the data displacment for each branch target.
public class MultiBranchData extends ArrayData {
static final int defaultCountOffSet = 0;
static final int defaultDisaplacementOffSet = 1;
static final int caseArrayStart = 2;
static final int relativeCountOffSet = 0;
static final int relativeDisplacementOffSet = 1;
static final int perCaseCellCount = 2;
public MultiBranchData(DataLayout layout) {
super(layout);
//assert(layout.tag() == DataLayout.multiBranchDataTag, "wrong type");
}
// static int computeCellCount(BytecodeStream stream);
int numberOfCases() {
int alen = arrayLen() - 2; // get rid of default case here.
//assert(alen % perCaseCellCount == 0, "must be even");
return (alen / perCaseCellCount);
}
int defaultCount() {
return arrayUintAt(defaultCountOffSet);
}
int defaultDisplacement() {
return arrayIntAt(defaultDisaplacementOffSet);
}
int countAt(int index) {
return arrayUintAt(caseArrayStart +
index * perCaseCellCount +
relativeCountOffSet);
}
int displacementAt(int index) {
return arrayIntAt(caseArrayStart +
index * perCaseCellCount +
relativeDisplacementOffSet);
}
// Code generation support
static int defaultCountOffset() {
return arrayElementOffset(defaultCountOffSet);
}
static int defaultDisplacementOffset() {
return arrayElementOffset(defaultDisaplacementOffSet);
}
static int caseCountOffset(int index) {
return caseArrayOffset() +
(perCaseSize() * index) +
relativeCountOffset();
}
static int caseArrayOffset() {
return arrayElementOffset(caseArrayStart);
}
static int perCaseSize() {
return (perCaseCellCount) * MethodData.cellSize;
}
static int relativeCountOffset() {
return (relativeCountOffSet) * MethodData.cellSize;
}
static int relativeDisplacementOffset() {
return (relativeDisplacementOffSet) * MethodData.cellSize;
}
public void printDataOn(PrintStream st) {
printShared(st, "MultiBranchData");
st.println("default_count(" + defaultCount() + ") displacement(" + defaultDisplacement() + ")");
int cases = numberOfCases();
for (int i = 0; i < cases; i++) {
tab(st);
st.println("count(" + countAt(i) + ") displacement(" + displacementAt(i) + ")");
}
}
}
⏎ sun/jvm/hotspot/oops/MultiBranchData.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 is the jaxp\TypeInfoWriter.java provided in the Apache Xerces package? I have Apache Xerces 2.1...
Where Can I see Java Source Code files for Xerces Java 2.11.2? Here are Java Source Code files for X...
HttpComponents Client Source Code Files are provided in the source package file, httpcomponents-clie...
JDK 11 jdk.internal.JVM Stat.jmod is the JMOD file for JDK 11 Internal Jvmstat module. JDK 11 Intern...
JDK 17 jdk.jdeps.jmod is the JMOD file for JDK 17 JDeps tool, which can be invoked by the "jdeps" co...