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/Field.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 sun.jvm.hotspot.runtime.*; import sun.jvm.hotspot.utilities.*; // Super class for all fields in an object public class Field { Field(FieldIdentifier id, long offset, boolean isVMField) { this.offset = offset; this.id = id; this.isVMField = isVMField; } /** Constructor for fields that are named in an InstanceKlass's fields array (i.e., named, non-VM fields) */ Field(InstanceKlass holder, int fieldIndex) { this.holder = holder; this.fieldIndex = fieldIndex; offset = holder.getFieldOffset(fieldIndex); genericSignature = holder.getFieldGenericSignature(fieldIndex); Symbol name = holder.getFieldName(fieldIndex); id = new NamedFieldIdentifier(name.asString()); signature = holder.getFieldSignature(fieldIndex); fieldType = new FieldType(signature); short access = holder.getFieldAccessFlags(fieldIndex); accessFlags = new AccessFlags(access); } private long offset; private FieldIdentifier id; private boolean isVMField; // Java fields only private InstanceKlass holder; private FieldType fieldType; private Symbol signature; private Symbol genericSignature; private AccessFlags accessFlags; private int fieldIndex; /** Returns the byte offset of the field within the object or klass */ public long getOffset() { return offset; } /** Returns the identifier of the field */ public FieldIdentifier getID() { return id; } /** Indicates whether this is a VM field */ public boolean isVMField() { return isVMField; } /** Indicates whether this is a named field */ public boolean isNamedField() { return (id instanceof NamedFieldIdentifier); } public void printOn(PrintStream tty) { getID().printOn(tty); tty.print(" {" + getOffset() + "} :"); } /** (Named, non-VM fields only) Returns the InstanceKlass containing this (static or non-static) field. */ public InstanceKlass getFieldHolder() { return holder; } /** (Named, non-VM fields only) Returns the index in the fields TypeArray for this field. Equivalent to the "index" in the VM's fieldDescriptors. */ public int getFieldIndex() { return fieldIndex; } /** (Named, non-VM fields only) Retrieves the access flags. */ public long getAccessFlags() { return accessFlags.getValue(); } public AccessFlags getAccessFlagsObj() { return accessFlags; } /** (Named, non-VM fields only) Returns the type of this field. */ public FieldType getFieldType() { return fieldType; } /** (Named, non-VM fields only) Returns the signature of this field. */ public Symbol getSignature() { return signature; } public Symbol getGenericSignature() { return genericSignature; } public boolean hasInitialValue() { return holder.getFieldInitialValueIndex(fieldIndex) != 0; } // // Following acccessors are for named, non-VM fields only // public boolean isPublic() { return accessFlags.isPublic(); } public boolean isPrivate() { return accessFlags.isPrivate(); } public boolean isProtected() { return accessFlags.isProtected(); } public boolean isPackagePrivate() { return !isPublic() && !isPrivate() && !isProtected(); } public boolean isStatic() { return accessFlags.isStatic(); } public boolean isFinal() { return accessFlags.isFinal(); } public boolean isVolatile() { return accessFlags.isVolatile(); } public boolean isTransient() { return accessFlags.isTransient(); } public boolean isSynthetic() { return accessFlags.isSynthetic(); } public boolean isEnumConstant() { return accessFlags.isEnum(); } public boolean equals(Object obj) { if (obj == null) { return false; } if (! (obj instanceof Field)) { return false; } Field other = (Field) obj; return this.getFieldHolder().equals(other.getFieldHolder()) && this.getID().equals(other.getID()); } public int hashCode() { return getFieldHolder().hashCode() ^ getID().hashCode(); } }
⏎ sun/jvm/hotspot/oops/Field.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, 132986👍, 0💬
Popular Posts:
What Is commons-logging-1.2.jar? commons-logging-1.2.jar is the JAR file for Apache Commons Logging ...
Apache Axis2 is the core engine for Web services. It is a complete re-design and re-write of the wid...
Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nea...
Apache Log4j 1.2 Bridge allows applications coded to use Log4j 1.2 API to use Log4j 2 instead. Bytec...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...