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/runtime/ObjectMonitor.java
/* * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package sun.jvm.hotspot.runtime; import java.util.*; import sun.jvm.hotspot.debugger.*; import sun.jvm.hotspot.oops.*; import sun.jvm.hotspot.types.*; public class ObjectMonitor extends VMObject { 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 { heap = VM.getVM().getObjectHeap(); Type type = db.lookupType("ObjectMonitor"); sun.jvm.hotspot.types.Field f = type.getField("_header"); headerFieldOffset = f.getOffset(); f = type.getField("_object"); objectFieldOffset = f.getOffset(); f = type.getField("_owner"); ownerFieldOffset = f.getOffset(); f = type.getField("FreeNext"); FreeNextFieldOffset = f.getOffset(); countField = type.getJIntField("_count"); waitersField = type.getJIntField("_waiters"); recursionsField = type.getCIntegerField("_recursions"); } public ObjectMonitor(Address addr) { super(addr); } public Mark header() { return new Mark(addr.addOffsetTo(headerFieldOffset)); } // FIXME // void set_header(markOop hdr); // FIXME: must implement and delegate to platform-dependent implementation // public boolean isBusy(); public boolean isEntered(sun.jvm.hotspot.runtime.Thread current) { Address o = owner(); if (current.threadObjectAddress().equals(o) || current.isLockOwned(o)) { return true; } return false; } public Address owner() { return addr.getAddressAt(ownerFieldOffset); } // FIXME // void set_owner(void* owner); public int waiters() { return waitersField.getValue(addr); } public Address freeNext() { return addr.getAddressAt(FreeNextFieldOffset); } // FIXME // void set_queue(void* owner); public int count() { return countField.getValue(addr); } // FIXME // void set_count(int count); public long recursions() { return recursionsField.getValue(addr); } public OopHandle object() { return addr.getOopHandleAt(objectFieldOffset); } // contentions is always equal to count public int contentions() { return count(); } // FIXME // void* object_addr(); // void set_object(void* obj); // The following four either aren't expressed as typed fields in // vmStructs.cpp because they aren't strongly typed in the VM, or // would confuse the SA's type system. private static ObjectHeap heap; private static long headerFieldOffset; private static long objectFieldOffset; private static long ownerFieldOffset; private static long FreeNextFieldOffset; private static JIntField countField; private static JIntField waitersField; private static CIntegerField recursionsField; // FIXME: expose platform-dependent stuff }
⏎ sun/jvm/hotspot/runtime/ObjectMonitor.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, 131947👍, 0💬
Popular Posts:
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
Where to find answers to frequently asked questions on Downloading and Using JDK (Java Development K...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
commons-collections4-4.2 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...