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/BasicLineNumberMapping.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.AddressOps; public class BasicLineNumberMapping { private List infoList; public BasicLineNumberMapping() { } /** Add line number information for the given PC. The end PC may be a very loose approximation (i.e., the end of the given DLL) if that information is not available in the debug information. recomputeEndPCs() will recompute them if needed. */ public void addLineNumberInfo(BasicLineNumberInfo info) { if (infoList == null) { infoList = new ArrayList(); } infoList.add(info); } /** Sort the line number information by increasing starting program counter. This must be done before any queries are made. */ public void sort() { if (infoList == null) return; Collections.sort(infoList, new Comparator() { public int compare(Object o1, Object o2) { BasicLineNumberInfo l1 = (BasicLineNumberInfo) o1; BasicLineNumberInfo l2 = (BasicLineNumberInfo) o2; Address a1 = l1.getStartPC(); Address a2 = l2.getStartPC(); if (AddressOps.lt(a1, a2)) { return -1; } if (AddressOps.gt(a1, a2)) { return 1; } return 0; } }); } /** Recomputes the ending PCs of each interval based on the starting PC of the next one. If this needs to be called, must be called after sort(). */ public void recomputeEndPCs() { if (infoList == null) return; for (int i = 0; i < infoList.size() - 1; i++) { BasicLineNumberInfo i1 = get(i); BasicLineNumberInfo i2 = get(i + 1); i1.setEndPC(i2.getStartPC()); } } public BasicLineNumberInfo lineNumberForPC(Address pc) throws DebuggerException { if (infoList == null) return null; return searchLineNumbers(pc, 0, infoList.size() - 1); } public void iterate(LineNumberVisitor v) { if (infoList == null) return; for (int i = 0; i < infoList.size(); i++) { v.doLineNumber(get(i)); } } //---------------------------------------------------------------------- // Internals only below this point // private BasicLineNumberInfo get(int i) { return (BasicLineNumberInfo) infoList.get(i); } private BasicLineNumberInfo searchLineNumbers(Address addr, int lowIdx, int highIdx) { if (highIdx < lowIdx) return null; if (lowIdx == highIdx) { // Base case: see whether start PC is less than or equal to addr if (check(addr, lowIdx)) { return get(lowIdx); } else { return null; } } else if (lowIdx == highIdx - 1) { if (check(addr, lowIdx)) { return get(lowIdx); } else if (check(addr, highIdx)) { return get(highIdx); } else { return null; } } int midIdx = (lowIdx + highIdx) >> 1; BasicLineNumberInfo info = get(midIdx); if (AddressOps.lt(addr, info.getStartPC())) { // Always move search down return searchLineNumbers(addr, lowIdx, midIdx); } else if (AddressOps.equal(addr, info.getStartPC())) { return info; } else { // Move search up return searchLineNumbers(addr, midIdx, highIdx); } } private boolean check(Address addr, int idx) { BasicLineNumberInfo info = get(idx); if (AddressOps.lte(info.getStartPC(), addr)) { return true; } else { return false; } } }
⏎ sun/jvm/hotspot/debugger/cdbg/basic/BasicLineNumberMapping.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, 145307👍, 0💬
Popular Posts:
How to download and install iText7-Core-7.1.4.zip? iText7-Core-7.1.4.zip is the binary package of iT...
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...
The JMX technology provides the tools for building distributed, Web-based, modular and dynamic solut...
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...