Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
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 (309)
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/TypeArray.java
/* * Copyright (c) 2000, 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.*; // A TypeArray is an array containing basic types (non oop elements). // It is used for arrays of {characters, singles, doubles, bytes, shorts, integers, longs} public class TypeArray extends Array { static { VM.registerVMInitializedObserver(new Observer() { public void update(Observable o, Object data) { initialize(VM.getVM().getTypeDataBase()); } }); } private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("typeArrayOop"); } TypeArray(OopHandle handle, ObjectHeap heap) { super(handle, heap); } public boolean isTypeArray() { return true; } public byte getByteAt(long index) { if (index < 0 || index >= getLength()) { throw new ArrayIndexOutOfBoundsException(index + " " + getLength()); } long offset = baseOffsetInBytes(BasicType.T_BYTE) + index * getHeap().getByteSize(); return getHandle().getJByteAt(offset); } public boolean getBooleanAt(long index) { long offset = baseOffsetInBytes(BasicType.T_BOOLEAN) + index * getHeap().getBooleanSize(); return getHandle().getJBooleanAt(offset); } public char getCharAt(long index) { long offset = baseOffsetInBytes(BasicType.T_CHAR) + index * getHeap().getCharSize(); return getHandle().getJCharAt(offset); } public int getIntAt(long index) { long offset = baseOffsetInBytes(BasicType.T_INT) + index * getHeap().getIntSize(); return getHandle().getJIntAt(offset); } public short getShortAt(long index) { long offset = baseOffsetInBytes(BasicType.T_SHORT) + index * getHeap().getShortSize(); return getHandle().getJShortAt(offset); } public long getLongAt(long index) { long offset = baseOffsetInBytes(BasicType.T_LONG) + index * getHeap().getLongSize(); return getHandle().getJLongAt(offset); } public float getFloatAt(long index) { long offset = baseOffsetInBytes(BasicType.T_FLOAT) + index * getHeap().getFloatSize(); return getHandle().getJFloatAt(offset); } public double getDoubleAt(long index) { long offset = baseOffsetInBytes(BasicType.T_DOUBLE) + index * getHeap().getDoubleSize(); return getHandle().getJDoubleAt(offset); } public void printValueOn(PrintStream tty) { TypeArrayKlass klass = (TypeArrayKlass) getKlass(); tty.print(klass.getTypeName()); } public void iterateFields(OopVisitor visitor, boolean doVMFields) { super.iterateFields(visitor, doVMFields); TypeArrayKlass klass = (TypeArrayKlass) getKlass(); int length = (int) getLength(); int type = (int) klass.getElementType(); for (int index = 0; index < length; index++) { FieldIdentifier id = new IndexableFieldIdentifier(index); switch (type) { case TypeArrayKlass.T_BOOLEAN: { long offset = baseOffsetInBytes(BasicType.T_BOOLEAN) + index * getHeap().getBooleanSize(); visitor.doBoolean(new BooleanField(id, offset, false), false); break; } case TypeArrayKlass.T_CHAR: { long offset = baseOffsetInBytes(BasicType.T_CHAR) + index * getHeap().getCharSize(); visitor.doChar(new CharField(id, offset, false), false); break; } case TypeArrayKlass.T_FLOAT: { long offset = baseOffsetInBytes(BasicType.T_FLOAT) + index * getHeap().getFloatSize(); visitor.doFloat(new FloatField(id, offset, false), false); break; } case TypeArrayKlass.T_DOUBLE: { long offset = baseOffsetInBytes(BasicType.T_DOUBLE) + index * getHeap().getDoubleSize(); visitor.doDouble(new DoubleField(id, offset, false), false); break; } case TypeArrayKlass.T_BYTE: { long offset = baseOffsetInBytes(BasicType.T_BYTE) + index * getHeap().getByteSize(); visitor.doByte(new ByteField(id, offset, false), false); break; } case TypeArrayKlass.T_SHORT: { long offset = baseOffsetInBytes(BasicType.T_SHORT) + index * getHeap().getShortSize(); visitor.doShort(new ShortField(id, offset, false), false); break; } case TypeArrayKlass.T_INT: { long offset = baseOffsetInBytes(BasicType.T_INT) + index * getHeap().getIntSize(); visitor.doInt(new IntField(id, offset, false), false); break; } case TypeArrayKlass.T_LONG: { long offset = baseOffsetInBytes(BasicType.T_LONG) + index * getHeap().getLongSize(); visitor.doLong(new LongField(id, offset, false), false); break; } } } } }
⏎ sun/jvm/hotspot/oops/TypeArray.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, 131868👍, 0💬
Popular Posts:
How to read XML document with DTD validation from socket connections with the socket\DelayedInput.ja.. .
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
JDK 11 jdk.crypto.mscapi.jmod is the JMOD file for JDK 11 Crypto MSCAPI module. JDK 11 Crypto MSCAPI...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
What Is js.jar in Rhino JavaScript 1.7R5? js.jar in Rhino JavaScript 1.7R5 is the JAR file for Rhino...