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/code/CompressedReadStream.java
/* * Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * */ package sun.jvm.hotspot.code; import sun.jvm.hotspot.debugger.*; public class CompressedReadStream extends CompressedStream { /** Equivalent to CompressedReadStream(buffer, 0) */ public CompressedReadStream(Address buffer) { this(buffer, 0); } public CompressedReadStream(Address buffer, int position) { super(buffer, position); } public boolean readBoolean() { return (read() != 0); } public byte readByte() { return (byte) read(); } public char readChar() { return (char) readInt(); } public short readShort() { return (short) readSignedInt(); } public int readSignedInt() { return decodeSign(readInt()); } public int readInt() { int b0 = read(); if (b0 < L) { return b0; } else { return readIntMb(b0); } } public float readFloat() { return Float.intBitsToFloat(reverseInt(readInt())); } public double readDouble() { int rh = readInt(); int rl = readInt(); int h = reverseInt(rh); int l = reverseInt(rl); return Double.longBitsToDouble((h << 32) | ((long)l & 0x00000000FFFFFFFFL)); } public long readLong() { long low = readSignedInt() & 0x00000000FFFFFFFFL; long high = readSignedInt(); return (high << 32) | low; } //-------------------------------------------------------------------------------- // Internals only below this point // // This encoding, called UNSIGNED5, is taken from J2SE Pack200. // It assumes that most values have lots of leading zeroes. // Very small values, in the range [0..191], code in one byte. // Any 32-bit value (including negatives) can be coded, in // up to five bytes. The grammar is: // low_byte = [0..191] // high_byte = [192..255] // any_byte = low_byte | high_byte // coding = low_byte // | high_byte low_byte // | high_byte high_byte low_byte // | high_byte high_byte high_byte low_byte // | high_byte high_byte high_byte high_byte any_byte // Each high_byte contributes six bits of payload. // The encoding is one-to-one (except for integer overflow) // and easy to parse and unparse. private int readIntMb(int b0) { int pos = position - 1; int sum = b0; // must collect more bytes: b[1]...b[4] int lg_H_i = lg_H; for (int i = 0; ;) { int b_i = read(pos + (++i)); sum += b_i << lg_H_i; // sum += b[i]*(64**i) if (b_i < L || i == MAX_i) { setPosition(pos+i+1); return sum; } lg_H_i += lg_H; } } private short read(int index) { return (short) buffer.getCIntegerAt(index, 1, true); } /** Reads an unsigned byte, but returns it as a short */ private short read() { short retval = (short) buffer.getCIntegerAt(position, 1, true); ++position; return retval; } }
⏎ sun/jvm/hotspot/code/CompressedReadStream.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, 144772👍, 0💬
Popular Posts:
JDK 11 java.base.jmod is the JMOD file for JDK 11 Base module. JDK 11 Base module compiled class fil...
How to download and install JDK (Java Development Kit) 7? If you want to write Java applications, yo...
commons-fileupload-1.3.3 -sources.jaris the source JAR file for Apache Commons FileUpload 1.3., whic...
How to download and install JDK (Java Development Kit) 8? If you want to write Java applications, yo...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...