218 if (is_vtable_stub) { |
218 if (is_vtable_stub) { |
219 // ld;ld;ld,jmp,nop |
219 // ld;ld;ld,jmp,nop |
220 const int basic = 5*BytesPerInstWord + |
220 const int basic = 5*BytesPerInstWord + |
221 // shift;add for load_klass (only shift with zero heap based) |
221 // shift;add for load_klass (only shift with zero heap based) |
222 (UseCompressedKlassPointers ? |
222 (UseCompressedKlassPointers ? |
223 ((Universe::narrow_oop_base() == NULL) ? BytesPerInstWord : 2*BytesPerInstWord) : 0); |
223 ((Universe::narrow_klass_base() == NULL) ? BytesPerInstWord : 2*BytesPerInstWord) : 0); |
224 return basic + slop; |
224 return basic + slop; |
225 } else { |
225 } else { |
226 const int basic = (28 LP64_ONLY(+ 6)) * BytesPerInstWord + |
226 const int basic = (28 LP64_ONLY(+ 6)) * BytesPerInstWord + |
227 // shift;add for load_klass (only shift with zero heap based) |
227 // shift;add for load_klass (only shift with zero heap based) |
228 (UseCompressedKlassPointers ? |
228 (UseCompressedKlassPointers ? |
229 ((Universe::narrow_oop_base() == NULL) ? BytesPerInstWord : 2*BytesPerInstWord) : 0); |
229 ((Universe::narrow_klass_base() == NULL) ? BytesPerInstWord : 2*BytesPerInstWord) : 0); |
230 return (basic + slop); |
230 return (basic + slop); |
231 } |
231 } |
232 } |
232 } |
233 |
233 |
234 // In order to tune these parameters, run the JVM with VM options |
234 // In order to tune these parameters, run the JVM with VM options |