CodeCacheExpansionSize too small for Zero on ppc32/ppc64

Tobias Hartmann tobias.hartmann at oracle.com
Tue Nov 28 14:31:19 UTC 2017


Hi Adrian,

On 28.11.2017 15:21, John Paul Adrian Glaubitz wrote:
> Should we just set the sizes there from the fixed values defined in globals.hpp
> for all the cases where it's set to os::vm_page_size() or just for
> CodeCacheMinBlockLength?

I think we should just fix it for CodeCacheExpansionSize

-          range(os::vm_page_size(), max_uintx)                              \
+          range(32*K, max_uintx)                                            \

The default values for the other flags are much larger than vm_page_size() and definitely should be.

I can take care of fixing this - since I also broke it :)

Thanks for reporting!

Best regards,
Tobias


More information about the hotspot-dev mailing list