hotspot/src/share/vm/code/vtableStubs.cpp
changeset 20017 81eba62e9048
parent 19696 bd5a0131bde1
child 20072 6da61000acff
equal deleted inserted replaced
20014:b34a9fa1931a 20017:81eba62e9048
   109     }
   109     }
   110   }
   110   }
   111 }
   111 }
   112 
   112 
   113 
   113 
   114 address VtableStubs::create_stub(bool is_vtable_stub, int vtable_index, Method* method) {
   114 address VtableStubs::find_stub(bool is_vtable_stub, int vtable_index) {
   115   assert(vtable_index >= 0, "must be positive");
   115   assert(vtable_index >= 0, "must be positive");
   116 
   116 
   117   VtableStub* s = ShareVtableStubs ? lookup(is_vtable_stub, vtable_index) : NULL;
   117   VtableStub* s = ShareVtableStubs ? lookup(is_vtable_stub, vtable_index) : NULL;
   118   if (s == NULL) {
   118   if (s == NULL) {
   119     if (is_vtable_stub) {
   119     if (is_vtable_stub) {