Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 637795e

Browse files
committed
8239931: [win][x86] vtable stub generation: assert failure (code size estimate) follow-up
Reviewed-by: mdoerr
1 parent 0cd6d13 commit 637795e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/cpu/x86/vtableStubs_x86_32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ VtableStub* VtableStubs::create_vtable_stub(int vtable_index) {
9797
start_pc = __ pc();
9898
// check offset vs vtable length
9999
__ cmpl(Address(rax, Klass::vtable_length_offset()), vtable_index*vtableEntry::size());
100-
slop_delta = 6 - (__ pc() - start_pc); // cmpl varies in length, depending on data
100+
slop_delta = 10 - (__ pc() - start_pc); // cmpl varies in length, depending on data
101101
slop_bytes += slop_delta;
102102
assert(slop_delta >= 0, "negative slop(%d) encountered, adjust code size estimate!", slop_delta);
103103

0 commit comments

Comments
 (0)