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/ReceiverTypeData.java
/* * Copyright (c) 2011, 2016, 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.*; // ReceiverTypeData // // A ReceiverTypeData is used to access profiling information about a // dynamic type check. It consists of a counter which counts the total times // that the check is reached, and a series of (Klass, count) pairs // which are used to store a type profile for the receiver of the check. public class ReceiverTypeData<K,M> extends CounterData { static final int INCLUDE_JVMCI; static final int nonProfiledCountOffset = counterCellCount; static final int receiver0Offset; static final int count0Offset; static final int receiverTypeRowCellCount; static { INCLUDE_JVMCI = VM.getVM().getTypeDataBase().lookupIntConstant("INCLUDE_JVMCI"); if (INCLUDE_JVMCI == 1) { receiver0Offset = nonProfiledCountOffset + 1; } else { receiver0Offset = counterCellCount; } count0Offset = receiver0Offset + 1; receiverTypeRowCellCount = (count0Offset + 1) - receiver0Offset; } final MethodDataInterface<K,M> methodData; public ReceiverTypeData(MethodDataInterface<K,M> methodData, DataLayout layout) { super(layout); this.methodData = methodData; //assert(layout.tag() == DataLayout.receiverTypeDataTag || // layout.tag() == DataLayout.virtualCallDataTag, "wrong type"); } boolean isReceivertypedata() { return true; } static int staticCellCount() { int cellCount = counterCellCount + MethodData.TypeProfileWidth * receiverTypeRowCellCount; if (INCLUDE_JVMCI == 1) { cellCount += 1; } return cellCount; } public int cellCount() { return staticCellCount(); } // Direct accessors public static int rowLimit() { return MethodData.TypeProfileWidth; } public static int receiverCellIndex(int row) { return receiver0Offset + row * receiverTypeRowCellCount; } public static int receiverCountCellIndex(int row) { return count0Offset + row * receiverTypeRowCellCount; } // Get the receiver at row. The 'unchecked' version is needed by parallel old // gc; it does not assert the receiver is a klass. During compaction of the // perm gen, the klass may already have moved, so the isKlass() predicate // would fail. The 'normal' version should be used whenever possible. K receiverUnchecked(int row) { //assert(row < rowLimit(), "oob"); Address recv = addressAt(receiverCellIndex(row)); return methodData.getKlassAtAddress(recv); } public K receiver(int row) { K recv = receiverUnchecked(row); //assert(recv == NULL || ((oop)recv).isKlass(), "wrong type"); return recv; } public int receiverCount(int row) { //assert(row < rowLimit(), "oob"); return uintAt(receiverCountCellIndex(row)); } // Code generation support static int receiverOffset(int row) { return cellOffset(receiverCellIndex(row)); } static int receiverCountOffset(int row) { return cellOffset(receiverCountCellIndex(row)); } static int receiverTypeDataSize() { return cellOffset(staticCellCount()); } void printReceiverDataOn(PrintStream st) { int row; int entries = 0; for (row = 0; row < rowLimit(); row++) { if (receiver(row) != null) entries++; } st.println("count(" + count() + ") entries(" + entries + ")"); for (row = 0; row < rowLimit(); row++) { if (receiver(row) != null) { tab(st); methodData.printKlassValueOn(receiver(row), st); st.println("(" + receiverCount(row) + ")"); } } } public void printDataOn(PrintStream st) { printShared(st, "ReceiverTypeData"); printReceiverDataOn(st); } }
⏎ sun/jvm/hotspot/oops/ReceiverTypeData.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, ≈192🔥, 0💬
Popular Posts:
The JDT project provides the tool plug-ins that implement a Java IDE supporting the development of a...
The Apache FontBox library is an open source Java tool to obtain low level information from font fil...
What Is XMLBeans xbean.jar 2.6.0? XMLBeans xbean.jar 2.6.0 is the JAR file for Apache XMLBeans 2.6.0...
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.6.1-src.zip...
Joda-Time provides a quality replacement for the Java date and time classes. The design allows for m...