[aarch64-port-dev ] AARCH64: 8064611: Changes to HotSpot shared code

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Nov 14 19:45:49 UTC 2014


Yes, it is very good suggestion. And it will allow to avoid a platform 
check in arguments.cpp. Andrew, please, use this approach.

Thanks,
Vladimir

On 11/14/14 11:14 AM, Dean Long wrote:
> Is there a way to do this so it doesn't limit our closed aarch64 port?
> Perhaps
>
> #ifndef CODE_CACHE_SIZE_LIMIT
> #define CODE_CACHE_SIZE_LIMIT 2*G
> #endif
>
> which would allow a port to override it by defining
> CODE_CACHE_SIZE_LIMIT in
> a file such as globalDefinitions_<ARCH>.hpp.
>
> dl
>
> On 11/14/2014 9:06 AM, Vladimir Kozlov wrote:
>> Yes, I thought about product_pd() and define_pd_global(). But then
>> some crazy (security) guys may start playing with it and file P1 bugs.
>> Okay, how about a constant (#define CODE_CACHE_SIZE_LIMIT
>> NOT_AARCH64(2*G) ARCH64_ONLY(138*M)) in this place so you can use it
>> in these 2 checks?
>


More information about the aarch64-port-dev mailing list