agent/src/share/classes/sun/jvm/hotspot/compiler/OopMapStream.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff agent/src/share/classes/sun/jvm/hotspot/compiler/OopMapStream.java
agent/src/share/classes/sun/jvm/hotspot/compiler/OopMapStream.java
Print this page
*** 26,59 ****
import sun.jvm.hotspot.code.*;
public class OopMapStream {
private CompressedReadStream stream;
! private OopMap oopMap;
private int mask;
private int size;
private int position;
private OopMapValue omv;
private boolean omvValid;
! public OopMapStream(OopMap oopMap) {
this(oopMap, (OopMapValue.OopTypes[]) null);
}
! public OopMapStream(OopMap oopMap, OopMapValue.OopTypes type) {
this(oopMap, (OopMapValue.OopTypes[]) null);
mask = type.getValue();
}
! public OopMapStream(OopMap oopMap, OopMapValue.OopTypes[] types) {
! if (oopMap.getOMVData() == null) {
! stream = new CompressedReadStream(oopMap.getWriteStream().getBuffer());
! } else {
! stream = new CompressedReadStream(oopMap.getOMVData());
! }
mask = computeMask(types);
! size = (int) oopMap.getOMVCount();
position = 0;
omv = new OopMapValue();
omvValid = false;
}
--- 26,55 ----
import sun.jvm.hotspot.code.*;
public class OopMapStream {
private CompressedReadStream stream;
! private ImmutableOopMap oopMap;
private int mask;
private int size;
private int position;
private OopMapValue omv;
private boolean omvValid;
! public OopMapStream(ImmutableOopMap oopMap) {
this(oopMap, (OopMapValue.OopTypes[]) null);
}
! public OopMapStream(ImmutableOopMap oopMap, OopMapValue.OopTypes type) {
this(oopMap, (OopMapValue.OopTypes[]) null);
mask = type.getValue();
}
! public OopMapStream(ImmutableOopMap oopMap, OopMapValue.OopTypes[] types) {
! stream = new CompressedReadStream(oopMap.getData());
mask = computeMask(types);
! size = (int) oopMap.getCount();
position = 0;
omv = new OopMapValue();
omvValid = false;
}
agent/src/share/classes/sun/jvm/hotspot/compiler/OopMapStream.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File