1.1 --- a/src/share/vm/code/vtableStubs.cpp Wed Apr 15 11:14:58 2020 +0800 1.2 +++ b/src/share/vm/code/vtableStubs.cpp Wed Apr 15 11:49:55 2020 +0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -110,7 +110,7 @@ 1.11 address VtableStubs::find_stub(bool is_vtable_stub, int vtable_index) { 1.12 assert(vtable_index >= 0, "must be positive"); 1.13 1.14 - VtableStub* s = ShareVtableStubs ? lookup(is_vtable_stub, vtable_index) : NULL; 1.15 + VtableStub* s = lookup(is_vtable_stub, vtable_index); 1.16 if (s == NULL) { 1.17 if (is_vtable_stub) { 1.18 s = create_vtable_stub(vtable_index);