comparison agent/src/share/classes/sun/jvm/hotspot/debugger/remote/RemoteDebuggerServer.java @ 642:660978a2a31a

6791178: Specialize for zero as the compressed oop vm heap base Summary: Use zero based compressed oops if java heap is below 32gb and unscaled compressed oops if java heap is below 4gb. Reviewed-by: never, twisti, jcoomes, coleenp
author kvn
date Thu, 12 Mar 2009 10:37:46 -0700
parents d1605aabd0a1
children bd02caa94611
comparison
equal deleted inserted replaced
641:6af0a709d52b 642:660978a2a31a
112 112
113 public long getJShortSize() throws RemoteException { 113 public long getJShortSize() throws RemoteException {
114 return debugger.getJShortSize(); 114 return debugger.getJShortSize();
115 } 115 }
116 116
117 public long getHeapBase() throws RemoteException {
118 return debugger.getHeapBase();
119 }
120
121 public long getHeapOopSize() throws RemoteException { 117 public long getHeapOopSize() throws RemoteException {
122 return debugger.getHeapOopSize(); 118 return debugger.getHeapOopSize();
123 } 119 }
124 120
125 public long getLogMinObjAlignmentInBytes() throws RemoteException { 121 public long getNarrowOopBase() throws RemoteException {
126 return debugger.getLogMinObjAlignmentInBytes(); 122 return debugger.getNarrowOopBase();
127 } 123 }
124
125 public int getNarrowOopShift() throws RemoteException {
126 return debugger.getNarrowOopShift();
127 }
128
128 public boolean areThreadsEqual(long addrOrId1, boolean isAddress1, 129 public boolean areThreadsEqual(long addrOrId1, boolean isAddress1,
129 long addrOrId2, boolean isAddress2) throws RemoteException { 130 long addrOrId2, boolean isAddress2) throws RemoteException {
130 ThreadProxy t1 = getThreadProxy(addrOrId1, isAddress1); 131 ThreadProxy t1 = getThreadProxy(addrOrId1, isAddress1);
131 ThreadProxy t2 = getThreadProxy(addrOrId2, isAddress2); 132 ThreadProxy t2 = getThreadProxy(addrOrId2, isAddress2);
132 return t1.equals(t2); 133 return t1.equals(t2);