APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.code

public Class CompressedStream

extends Object
Class Inheritance
Known Direct Subclasses
sun.jvm.hotspot.code.CompressedWriteStream, sun.jvm.hotspot.code.CompressedReadStream
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.utilities.*

NOTE that this class takes the address of a buffer. This means that it can read previously-generated debug information directly from the target VM. However, it also means that you can't create a "wrapper" object for a CompressedStream down in the VM. It looks like these are only kept persistently in OopMaps, and the code has been special-cased in OopMap.java to handle this.

Field Summary

Modifier and TypeField and Description
public static final int
protected Address
public static final int
protected int

Constructor Summary

AccessConstructor and Description
public
CompressedStream(Address buffer)

Equivalent to CompressedStream(buffer, 0)

public
CompressedStream(Address buffer, int position)

Method Summary

Modifier and TypeMethod and Description
public int
decodeSign(int value)

public int
encodeSign(int value)

public Address
public int
public int
reverseInt(int i)

public void
setPosition(int position)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BitsPerByteback to summary
public static final int BitsPerByte
bufferback to summary
protected Address buffer
LogBitsPerByteback to summary
public static final int LogBitsPerByte
positionback to summary
protected int position

Constructor Detail

CompressedStreamback to summary
public CompressedStream(Address buffer)

Equivalent to CompressedStream(buffer, 0)

CompressedStreamback to summary
public CompressedStream(Address buffer, int position)

Method Detail

decodeSignback to summary
public int decodeSign(int value)
encodeSignback to summary
public int encodeSign(int value)
getBufferback to summary
public Address getBuffer()
getPositionback to summary
public int getPosition()
reverseIntback to summary
public int reverseInt(int i)
setPositionback to summary
public void setPosition(int position)