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/debugger/cdbg/basic/BasicCompoundType.java
/* * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package sun.jvm.hotspot.debugger.cdbg.basic; import java.util.*; import sun.jvm.hotspot.debugger.*; import sun.jvm.hotspot.debugger.cdbg.*; import sun.jvm.hotspot.utilities.Assert; public class BasicCompoundType extends BasicType implements CompoundType { private CompoundTypeKind kind; private List baseClasses; private List fields; public BasicCompoundType(String name, int size, CompoundTypeKind kind) { this(name, size, kind, 0); } private BasicCompoundType(String name, int size, CompoundTypeKind kind, int cvAttributes) { super(name, size, cvAttributes); if (Assert.ASSERTS_ENABLED) { Assert.that(kind != null, "null kind"); } this.kind = kind; } public CompoundType asCompound() { return this; } public int getNumBaseClasses() { return ((baseClasses == null) ? 0 : baseClasses.size()); } public BaseClass getBaseClass(int i) { return (BaseClass) baseClasses.get(i); } public void addBaseClass(BaseClass b) { if (baseClasses == null) { baseClasses = new ArrayList(); } baseClasses.add(b); } public int getNumFields() { return ((fields == null) ? 0 : fields.size()); } public Field getField(int i) { return (Field) fields.get(i); } public void addField(Field f) { if (fields == null) { fields = new ArrayList(); } fields.add(f); } public boolean isClass() { return (kind == CompoundTypeKind.CLASS); } public boolean isStruct() { return (kind == CompoundTypeKind.STRUCT); } public boolean isUnion() { return (kind == CompoundTypeKind.UNION); } Type resolveTypes(BasicCDebugInfoDataBase db, ResolveListener listener) { super.resolveTypes(db, listener); if (baseClasses != null) { for (Iterator iter = baseClasses.iterator(); iter.hasNext(); ) { BasicBaseClass b = (BasicBaseClass) iter.next(); b.resolveTypes(this, db, listener); } } if (fields != null) { for (Iterator iter = fields.iterator(); iter.hasNext(); ) { BasicField b = (BasicField) iter.next(); b.resolveTypes(this, db, listener); } } return this; } public void iterateObject(Address a, ObjectVisitor v, FieldIdentifier f) { // What kind of iteration are we doing? If the end user requested // iteration over a given object at a given address, the field // identifier will be null, and we should descend and iterate over // our fields and superclasses. Otherwise, we are already // iterating through an object, and it is up to the end user // whether to descend into the embedded object. if (f == null) { // FIXME: this is one of the key hard components of this // implementation. Will need to properly handle multiple // inheritance and possibly virtual base classes (i.e., not // iterating twice for a virtual base class inherited indirectly // more than once). For now, we do the simple thing, which // assumes single inheritance. for (int i = 0; i < getNumBaseClasses(); i++) { BasicCompoundType b = (BasicCompoundType) getBaseClass(i).getType(); b.iterateObject(a, v, f); } // Now we are in our scope v.enterType(this, a); // Iterate through our fields for (int i = 0; i < getNumFields(); i++) { Field field = getField(i); BasicType fieldType = (BasicType) field.getType(); fieldType.iterateObject(a.addOffsetTo(field.getOffset()), v, new BasicNamedFieldIdentifier(field)); } v.exitType(); } else { v.doCompound(f, a); } } protected Type createCVVariant(int cvAttributes) { BasicCompoundType t = new BasicCompoundType(getName(), getSize(), kind, cvAttributes); t.kind = kind; t.baseClasses = baseClasses; t.fields = fields; return t; } public void visit(TypeVisitor v) { v.doCompoundType(this); } }
⏎ sun/jvm/hotspot/debugger/cdbg/basic/BasicCompoundType.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, 145218👍, 0💬
Popular Posts:
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java...
xml-commons Resolver Source Code Files are provided in the source package file, xml-commons-resolver...
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
Saxon is an open source product available under the Mozilla Public License. It provides implementati...
How to download and install xml-commons External Source Package? The source package contains Java so...