Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/hotspot/cpu/x86/stubDeclarations_x86.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
do_arch_blob, \
do_arch_entry, \
do_arch_entry_init) \
do_arch_blob(initial, 20000 WINDOWS_ONLY(+1000)) \
do_arch_blob(initial, PRODUCT_ONLY(20000) NOT_PRODUCT(21000) WINDOWS_ONLY(+1000)) \
do_stub(initial, verify_mxcsr) \
do_arch_entry(x86, initial, verify_mxcsr, verify_mxcsr_entry, \
verify_mxcsr_entry) \
Expand Down
5 changes: 4 additions & 1 deletion src/hotspot/share/runtime/stubRoutines.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ static BufferBlob* initialize_stubs(BlobId blob_id,
StubGenerator_generate(&buffer, blob_id);
// When new stubs added we need to make sure there is some space left
// to catch situation when we should increase size again.
assert(code_size == 0 || buffer.insts_remaining() > 200, "increase %s", assert_msg);
assert(code_size == 0 || buffer.insts_remaining() > 200,
"increase %s, code_size: %d, used: %d, free: %d",
assert_msg, code_size, buffer.total_content_size(), buffer.insts_remaining());

LogTarget(Info, stubs) lt;
if (lt.is_enabled()) {
Expand All @@ -167,6 +169,7 @@ static BufferBlob* initialize_stubs(BlobId blob_id,
buffer_name, p2i(stubs_code->content_begin()), p2i(stubs_code->content_end()),
buffer.total_content_size(), buffer.insts_remaining());
}

return stubs_code;
}

Expand Down