public class sun.jvm.hotspot.debugger.PageCache
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.debugger.PageCache
super_class: java.lang.Object
{
private boolean enabled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long pageSize;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maxNumPages;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long pageMask;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long numPages;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.debugger.PageFetcher fetcher;
descriptor: Lsun/jvm/hotspot/debugger/PageFetcher;
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.debugger.LongHashMap addressToPageMap;
descriptor: Lsun/jvm/hotspot/debugger/LongHashMap;
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.debugger.Page lruList;
descriptor: Lsun/jvm/hotspot/debugger/Page;
flags: (0x0002) ACC_PRIVATE
public void <init>(long, long, sun.jvm.hotspot.debugger.PageFetcher);
descriptor: (JJLsun/jvm/hotspot/debugger/PageFetcher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
lload 3
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPageInfo:(JJ)V
2: aload 0
lload 1
putfield sun.jvm.hotspot.debugger.PageCache.pageSize:J
3: aload 0
lload 3
putfield sun.jvm.hotspot.debugger.PageCache.maxNumPages:J
4: aload 0
aload 5
putfield sun.jvm.hotspot.debugger.PageCache.fetcher:Lsun/jvm/hotspot/debugger/PageFetcher;
5: aload 0
new sun.jvm.hotspot.debugger.LongHashMap
dup
invokespecial sun.jvm.hotspot.debugger.LongHashMap.<init>:()V
putfield sun.jvm.hotspot.debugger.PageCache.addressToPageMap:Lsun/jvm/hotspot/debugger/LongHashMap;
6: aload 0
iconst_1
putfield sun.jvm.hotspot.debugger.PageCache.enabled:Z
7: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 8 1 pageSize J
0 8 3 maxNumPages J
0 8 5 fetcher Lsun/jvm/hotspot/debugger/PageFetcher;
MethodParameters:
Name Flags
pageSize
maxNumPages
fetcher
public synchronized byte[] getData(long, long);
descriptor: (JJ)[B
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=8, locals=15, args_size=3
start local 0 start local 1 start local 3 0: lload 3
l2i
newarray 8
astore 5
start local 5 1: lconst_0
lstore 6
start local 6 2: goto 11
3: StackMap locals: byte[] long
StackMap stack:
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
lstore 8
start local 8 4: aload 0
aload 0
lload 8
invokevirtual sun.jvm.hotspot.debugger.PageCache.getPage:(J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPage:(Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
astore 10
start local 10 5: lload 1
lload 8
lsub
lstore 11
start local 11 6: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageSize:J
lload 11
lsub
lload 3
invokestatic java.lang.Math.min:(JJ)J
lstore 13
start local 13 7: aload 10
lload 1
lload 13
aload 5
lload 6
invokevirtual sun.jvm.hotspot.debugger.Page.getDataAsBytes:(JJ[BJ)V
8: lload 6
lload 13
ladd
lstore 6
9: lload 3
lload 13
lsub
lstore 3
10: lload 1
lload 13
ladd
lstore 1
end local 13 end local 11 end local 10 end local 8 11: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifgt 3
12: aload 5
areturn
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 13 1 startAddress J
0 13 3 numBytes J
1 13 5 data [B
2 13 6 numRead J
4 11 8 pageBaseAddress J
5 11 10 page Lsun/jvm/hotspot/debugger/Page;
6 11 11 pageOffset J
7 11 13 numBytesFromPage J
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException
MethodParameters:
Name Flags
startAddress
numBytes
public synchronized boolean getBoolean(long);
descriptor: (J)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.getByte:(J)B
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 2 1 address J
MethodParameters:
Name Flags
address
public synchronized byte getByte(long);
descriptor: (J)B
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
invokevirtual sun.jvm.hotspot.debugger.PageCache.getPage:(J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPage:(Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.Page.getByte:(J)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 1 1 address J
MethodParameters:
Name Flags
address
public synchronized short getShort(long, boolean);
descriptor: (JZ)S
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
invokevirtual sun.jvm.hotspot.debugger.PageCache.getPage:(J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPage:(Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
lload 1
iload 3
invokevirtual sun.jvm.hotspot.debugger.Page.getShort:(JZ)S
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 1 1 address J
0 1 3 bigEndian Z
MethodParameters:
Name Flags
address
bigEndian
public synchronized char getChar(long, boolean);
descriptor: (JZ)C
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
invokevirtual sun.jvm.hotspot.debugger.PageCache.getPage:(J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPage:(Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
lload 1
iload 3
invokevirtual sun.jvm.hotspot.debugger.Page.getChar:(JZ)C
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 1 1 address J
0 1 3 bigEndian Z
MethodParameters:
Name Flags
address
bigEndian
public synchronized int getInt(long, boolean);
descriptor: (JZ)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
invokevirtual sun.jvm.hotspot.debugger.PageCache.getPage:(J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPage:(Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
lload 1
iload 3
invokevirtual sun.jvm.hotspot.debugger.Page.getInt:(JZ)I
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 1 1 address J
0 1 3 bigEndian Z
MethodParameters:
Name Flags
address
bigEndian
public synchronized long getLong(long, boolean);
descriptor: (JZ)J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
invokevirtual sun.jvm.hotspot.debugger.PageCache.getPage:(J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPage:(Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
lload 1
iload 3
invokevirtual sun.jvm.hotspot.debugger.Page.getLong:(JZ)J
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 1 1 address J
0 1 3 bigEndian Z
MethodParameters:
Name Flags
address
bigEndian
public synchronized float getFloat(long, boolean);
descriptor: (JZ)F
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
invokevirtual sun.jvm.hotspot.debugger.PageCache.getPage:(J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPage:(Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
lload 1
iload 3
invokevirtual sun.jvm.hotspot.debugger.Page.getFloat:(JZ)F
freturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 1 1 address J
0 1 3 bigEndian Z
MethodParameters:
Name Flags
address
bigEndian
public synchronized double getDouble(long, boolean);
descriptor: (JZ)D
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
aload 0
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
invokevirtual sun.jvm.hotspot.debugger.PageCache.getPage:(J)Lsun/jvm/hotspot/debugger/Page;
lload 1
invokevirtual sun.jvm.hotspot.debugger.PageCache.checkPage:(Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
lload 1
iload 3
invokevirtual sun.jvm.hotspot.debugger.Page.getDouble:(JZ)D
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 1 1 address J
0 1 3 bigEndian Z
MethodParameters:
Name Flags
address
bigEndian
public synchronized void clear(long, long);
descriptor: (JJ)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 3 0: lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
land
lstore 5
start local 5 1: lload 1
lload 3
ladd
lstore 7
start local 7 2: goto 5
3: StackMap locals: long long
StackMap stack:
aload 0
lload 5
invokevirtual sun.jvm.hotspot.debugger.PageCache.flushPage:(J)V
4: lload 5
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageSize:J
ladd
lstore 5
5: StackMap locals:
StackMap stack:
lload 5
lload 7
lcmp
iflt 3
6: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 7 1 startAddress J
0 7 3 numBytes J
1 7 5 pageBaseAddress J
2 7 7 endAddress J
MethodParameters:
Name Flags
startAddress
numBytes
public synchronized void clear();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.addressToPageMap:Lsun/jvm/hotspot/debugger/LongHashMap;
invokevirtual sun.jvm.hotspot.debugger.LongHashMap.clear:()V
1: aload 0
aconst_null
putfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
2: aload 0
lconst_0
putfield sun.jvm.hotspot.debugger.PageCache.numPages:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/debugger/PageCache;
public synchronized void disable();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.jvm.hotspot.debugger.PageCache.enabled:Z
1: aload 0
invokevirtual sun.jvm.hotspot.debugger.PageCache.clear:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/debugger/PageCache;
public synchronized void enable();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.jvm.hotspot.debugger.PageCache.enabled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/debugger/PageCache;
private sun.jvm.hotspot.debugger.Page getPage(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/Page;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
ifnull 3
1: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
invokevirtual sun.jvm.hotspot.debugger.Page.getBaseAddress:()J
lload 1
lcmp
ifne 3
2: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
areturn
3: StackMap locals:
StackMap stack:
lload 1
lstore 3
start local 3 4: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.addressToPageMap:Lsun/jvm/hotspot/debugger/LongHashMap;
lload 3
invokevirtual sun.jvm.hotspot.debugger.LongHashMap.get:(J)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Page
astore 5
start local 5 5: aload 5
ifnonnull 22
6: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.fetcher:Lsun/jvm/hotspot/debugger/PageFetcher;
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageSize:J
invokeinterface sun.jvm.hotspot.debugger.PageFetcher.fetchPage:(JJ)Lsun/jvm/hotspot/debugger/Page;
astore 5
7: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.enabled:Z
ifeq 24
8: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.addressToPageMap:Lsun/jvm/hotspot/debugger/LongHashMap;
lload 3
aload 5
invokevirtual sun.jvm.hotspot.debugger.LongHashMap.put:(JLjava/lang/Object;)Ljava/lang/Object;
pop
9: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 14
10: aload 5
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.addressToPageMap:Lsun/jvm/hotspot/debugger/LongHashMap;
lload 1
invokevirtual sun.jvm.hotspot.debugger.LongHashMap.get:(J)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Page
if_acmpne 11
iconst_1
goto 12
StackMap locals: long sun.jvm.hotspot.debugger.Page
StackMap stack:
11: iconst_0
12: StackMap locals:
StackMap stack: int
ldc "must have found page in cache!"
13: invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual sun.jvm.hotspot.debugger.PageCache.addPageToList:(Lsun/jvm/hotspot/debugger/Page;)V
15: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.numPages:J
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.maxNumPages:J
lcmp
ifne 20
16: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
invokevirtual sun.jvm.hotspot.debugger.Page.getPrev:()Lsun/jvm/hotspot/debugger/Page;
astore 6
start local 6 17: aload 0
aload 6
invokevirtual sun.jvm.hotspot.debugger.PageCache.removePageFromList:(Lsun/jvm/hotspot/debugger/Page;)V
18: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.addressToPageMap:Lsun/jvm/hotspot/debugger/LongHashMap;
aload 6
invokevirtual sun.jvm.hotspot.debugger.Page.getBaseAddress:()J
invokevirtual sun.jvm.hotspot.debugger.LongHashMap.remove:(J)Ljava/lang/Object;
pop
end local 6 19: goto 24
20: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.jvm.hotspot.debugger.PageCache.numPages:J
lconst_1
ladd
putfield sun.jvm.hotspot.debugger.PageCache.numPages:J
21: goto 24
22: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual sun.jvm.hotspot.debugger.PageCache.removePageFromList:(Lsun/jvm/hotspot/debugger/Page;)V
23: aload 0
aload 5
invokevirtual sun.jvm.hotspot.debugger.PageCache.addPageToList:(Lsun/jvm/hotspot/debugger/Page;)V
24: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 25 1 pageBaseAddress J
4 25 3 key J
5 25 5 page Lsun/jvm/hotspot/debugger/Page;
17 19 6 evictedPage Lsun/jvm/hotspot/debugger/Page;
MethodParameters:
Name Flags
pageBaseAddress
private sun.jvm.hotspot.debugger.Page checkPage(sun.jvm.hotspot.debugger.Page, long);
descriptor: (Lsun/jvm/hotspot/debugger/Page;J)Lsun/jvm/hotspot/debugger/Page;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.isMapped:()Z
ifne 2
1: new sun.jvm.hotspot.debugger.UnmappedAddressException
dup
lload 2
invokespecial sun.jvm.hotspot.debugger.UnmappedAddressException.<init>:(J)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 3 1 page Lsun/jvm/hotspot/debugger/Page;
0 3 2 startAddress J
MethodParameters:
Name Flags
page
startAddress
private int countPages();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 1
ifnonnull 4
3: iload 2
ireturn
4: StackMap locals: sun.jvm.hotspot.debugger.Page int
StackMap stack:
iinc 2 1
5: aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.getNext:()Lsun/jvm/hotspot/debugger/Page;
astore 1
6: aload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
if_acmpne 4
7: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/debugger/PageCache;
1 8 1 page Lsun/jvm/hotspot/debugger/Page;
2 8 2 num I
private void flushPage(long);
descriptor: (J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: lload 1
lstore 3
start local 3 1: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.addressToPageMap:Lsun/jvm/hotspot/debugger/LongHashMap;
lload 3
invokevirtual sun.jvm.hotspot.debugger.LongHashMap.remove:(J)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.Page
astore 5
start local 5 2: aload 5
ifnull 4
3: aload 0
aload 5
invokevirtual sun.jvm.hotspot.debugger.PageCache.removePageFromList:(Lsun/jvm/hotspot/debugger/Page;)V
4: StackMap locals: long sun.jvm.hotspot.debugger.Page
StackMap stack:
return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 5 1 pageBaseAddress J
1 5 3 key J
2 5 5 page Lsun/jvm/hotspot/debugger/Page;
MethodParameters:
Name Flags
pageBaseAddress
private void addPageToList(sun.jvm.hotspot.debugger.Page);
descriptor: (Lsun/jvm/hotspot/debugger/Page;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
ifnonnull 5
1: aload 0
aload 1
putfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
2: aload 1
aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.setNext:(Lsun/jvm/hotspot/debugger/Page;)V
3: aload 1
aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.setPrev:(Lsun/jvm/hotspot/debugger/Page;)V
4: goto 10
5: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
invokevirtual sun.jvm.hotspot.debugger.Page.setNext:(Lsun/jvm/hotspot/debugger/Page;)V
6: aload 1
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
invokevirtual sun.jvm.hotspot.debugger.Page.getPrev:()Lsun/jvm/hotspot/debugger/Page;
invokevirtual sun.jvm.hotspot.debugger.Page.setPrev:(Lsun/jvm/hotspot/debugger/Page;)V
7: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
invokevirtual sun.jvm.hotspot.debugger.Page.getPrev:()Lsun/jvm/hotspot/debugger/Page;
aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.setNext:(Lsun/jvm/hotspot/debugger/Page;)V
8: aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.setPrev:(Lsun/jvm/hotspot/debugger/Page;)V
9: aload 0
aload 1
putfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 11 1 page Lsun/jvm/hotspot/debugger/Page;
MethodParameters:
Name Flags
page
private void removePageFromList(sun.jvm.hotspot.debugger.Page);
descriptor: (Lsun/jvm/hotspot/debugger/Page;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.getNext:()Lsun/jvm/hotspot/debugger/Page;
aload 1
if_acmpne 3
1: aload 0
aconst_null
putfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
2: goto 7
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
aload 1
if_acmpne 5
4: aload 0
aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.getNext:()Lsun/jvm/hotspot/debugger/Page;
putfield sun.jvm.hotspot.debugger.PageCache.lruList:Lsun/jvm/hotspot/debugger/Page;
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.getPrev:()Lsun/jvm/hotspot/debugger/Page;
aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.getNext:()Lsun/jvm/hotspot/debugger/Page;
invokevirtual sun.jvm.hotspot.debugger.Page.setNext:(Lsun/jvm/hotspot/debugger/Page;)V
6: aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.getNext:()Lsun/jvm/hotspot/debugger/Page;
aload 1
invokevirtual sun.jvm.hotspot.debugger.Page.getPrev:()Lsun/jvm/hotspot/debugger/Page;
invokevirtual sun.jvm.hotspot.debugger.Page.setPrev:(Lsun/jvm/hotspot/debugger/Page;)V
7: StackMap locals:
StackMap stack:
aload 1
aconst_null
invokevirtual sun.jvm.hotspot.debugger.Page.setPrev:(Lsun/jvm/hotspot/debugger/Page;)V
8: aload 1
aconst_null
invokevirtual sun.jvm.hotspot.debugger.Page.setNext:(Lsun/jvm/hotspot/debugger/Page;)V
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 10 1 page Lsun/jvm/hotspot/debugger/Page;
MethodParameters:
Name Flags
page
private void checkPageInfo(long, long);
descriptor: (JJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lconst_0
lcmp
ifle 1
lload 3
lconst_0
lcmp
ifgt 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "pageSize and maxNumPages must both be greater than zero"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
lload 1
bipush 32
lushr
lstore 5
start local 5 3: lload 5
lconst_0
lcmp
ifeq 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "pageSize "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " too big (must fit within 32 bits)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: long
StackMap stack:
iconst_0
istore 7
start local 7 6: iconst_0
istore 8
start local 8 7: goto 16
8: StackMap locals: int int
StackMap stack:
lload 1
lconst_1
land
lconst_0
lcmp
ifeq 12
9: iinc 7 1
10: iload 7
iconst_1
if_icmpgt 11
iload 8
ifne 12
11: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "pageSize "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " must be a power of two"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
lload 1
iconst_1
lushr
lstore 1
13: iload 7
ifne 15
14: aload 0
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
iconst_1
lshl
lconst_1
lor
putfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
15: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
bipush 32
if_icmplt 8
end local 8 17: aload 0
aload 0
getfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
ldc -1
lxor
putfield sun.jvm.hotspot.debugger.PageCache.pageMask:J
18: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/jvm/hotspot/debugger/PageCache;
0 19 1 pageSize J
0 19 3 maxNumPages J
3 19 5 tmpPageSize J
6 19 7 numNonZeroBits I
7 17 8 i I
MethodParameters:
Name Flags
pageSize
maxNumPages
}
SourceFile: "PageCache.java"