8358706: Integer overflow with -XX:MinOopMapAllocation=-1

Reviewed-by: phubner, coleenp
This commit is contained in:
Casper Norrbin 2025-12-03 10:03:50 +00:00
parent 858d2e434d
commit 94977063ba

View File

@ -1671,8 +1671,9 @@ const int ObjectAlignmentInBytes = 8;
"putback") \
\
/* new oopmap storage allocation */ \
develop(intx, MinOopMapAllocation, 8, \
develop(int, MinOopMapAllocation, 8, \
"Minimum number of OopMap entries in an OopMapSet") \
range(0, max_jint) \
\
/* recompilation */ \
product_pd(intx, CompileThreshold, \