8316698: build failure caused by JDK-8316456

Reviewed-by: dcubed, dholmes
This commit is contained in:
Mandy Chung 2023-09-22 00:10:06 +00:00
parent c72f00463f
commit a1e03463ac

View File

@ -522,7 +522,7 @@ jint StackWalk::fetchNextBatch(Handle stackStream, jint mode, jlong magic,
log_debug(stackwalk)("StackWalk::fetchNextBatch last_batch_count %d buffer_size %d existing_stream "
PTR_FORMAT " start %d", last_batch_count,
buffer_size, p2i(existing_stream), start_index, frames_array->length());
buffer_size, p2i(existing_stream), start_index);
int end_index = start_index;
if (buffer_size <= start_index) {
return 0; // No operation.