APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.jvm.hotspot.compiler

public Class ImmutableOopMapSet

extends VMObject
Class Inheritance
Imports
java.util.*, sun.jvm.hotspot.code.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.types.*, sun.jvm.hotspot.utilities.*, .Observable, .Observer

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
private static int
private static long
private static CIntegerField
private static final boolean
private static AddressField
private static int
private static int
private static CIntegerField
Inherited from sun.jvm.hotspot.runtime.VMObject:
addr

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
allDo(Frame fr, CodeBlob cb, RegisterMap regMap, OopMapVisitor visitor, boolean debugging)

Note that there are 4 required AddressVisitors: one for oops, one for derived oops, one for values, and one for dead values

private Address
public ImmutableOopMap
findMapAtOffset(long pcOffset, boolean debugging)

public int
getCount()

Returns the number of OopMaps in this ImmutableOopMapSet

public ImmutableOopMap
public ImmutableOopMap
getMapAt(int index)

returns the OopMap at a given index

public ImmutableOopMapPair
getPairAt(int index)

private int
private static void
public static void
oopsDo(Frame fr, CodeBlob cb, RegisterMap regMap, AddressVisitor oopVisitor, boolean debugging)

Visitation -- iterates through the frame for a compiled method.

public ImmutableOopMapPair
pairAt(int index)

private Address
public String
toString()

Overrides sun.jvm.hotspot.runtime.VMObject.toString.

Returns a string representation of the object.

public static void
updateRegisterMap(Frame fr, CodeBlob cb, RegisterMap regMap, boolean debugging)

Update callee-saved register info for the following frame.

Inherited from sun.jvm.hotspot.runtime.VMObject:
equalsgetAddresshashCode

Field Detail

C_SAVED_ON_ENTRY_REG_COUNTback to summary
private static int C_SAVED_ON_ENTRY_REG_COUNT
classSizeback to summary
private static long classSize
countFieldback to summary
private static CIntegerField countField
DEBUGback to summary
private static final boolean DEBUG
omDataFieldback to summary
private static AddressField omDataField
REG_COUNTback to summary
private static int REG_COUNT
SAVED_ON_ENTRY_REG_COUNTback to summary
private static int SAVED_ON_ENTRY_REG_COUNT
sizeFieldback to summary
private static CIntegerField sizeField

Constructor Detail

ImmutableOopMapSetback to summary
public ImmutableOopMapSet(Address addr)

Method Detail

allDoback to summary
public static void allDo(Frame fr, CodeBlob cb, RegisterMap regMap, OopMapVisitor visitor, boolean debugging)

Note that there are 4 required AddressVisitors: one for oops, one for derived oops, one for values, and one for dead values

dataStartback to summary
private Address dataStart()
findMapAtOffsetback to summary
public ImmutableOopMap findMapAtOffset(long pcOffset, boolean debugging)
getCountback to summary
public int getCount()

Returns the number of OopMaps in this ImmutableOopMapSet

getMapback to summary
public ImmutableOopMap getMap(ImmutableOopMapPair pair)
getMapAtback to summary
public ImmutableOopMap getMapAt(int index)

returns the OopMap at a given index

getPairAtback to summary
public ImmutableOopMapPair getPairAt(int index)
getSizeback to summary
private int getSize()
initializeback to summary
private static void initialize(TypeDataBase db)
oopsDoback to summary
public static void oopsDo(Frame fr, CodeBlob cb, RegisterMap regMap, AddressVisitor oopVisitor, boolean debugging)

Visitation -- iterates through the frame for a compiled method. This is a very generic mechanism that requires the Address to be dereferenced by the callee. Other, more specialized, visitation mechanisms are given below.

pairAtback to summary
public ImmutableOopMapPair pairAt(int index)
pairStartback to summary
private Address pairStart()
toStringback to summary
public String toString()

Overrides sun.jvm.hotspot.runtime.VMObject.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

updateRegisterMapback to summary
public static void updateRegisterMap(Frame fr, CodeBlob cb, RegisterMap regMap, boolean debugging)

Update callee-saved register info for the following frame. Should only be called in non-core builds.

sun.jvm.hotspot.compiler back to summary

private Class ImmutableOopMapSet.MyVisitor

extends Object
implements OopMapVisitor
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.compiler.OopMapVisitor

Field Summary

Modifier and TypeField and Description
private AddressVisitor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

addressVisitorback to summary
private AddressVisitor addressVisitor

Constructor Detail

MyVisitorback to summary
public MyVisitor(AddressVisitor oopVisitor)

Method Detail

setAddressVisitorback to summary
public void setAddressVisitor(AddressVisitor addressVisitor)
visitDerivedOopLocationback to summary
public void visitDerivedOopLocation(Address baseOopAddr, Address derivedOopAddr)

Implements sun.jvm.hotspot.compiler.OopMapVisitor.visitDerivedOopLocation.

visitNarrowOopLocationback to summary
public void visitNarrowOopLocation(Address narrowOopAddr)

Implements sun.jvm.hotspot.compiler.OopMapVisitor.visitNarrowOopLocation.

visitOopLocationback to summary
public void visitOopLocation(Address oopAddr)

Implements sun.jvm.hotspot.compiler.OopMapVisitor.visitOopLocation.