RFR (XS): 8015635: Crash when specifying very large code cache size
Pavel Punegov
pavel.punegov at oracle.com
Thu Jun 27 07:35:05 PDT 2013
Hi Albert,
Could you please write a regression test for this? I think it'd be good to
have a test for this.
Thanks,
Pavel
On Thursday 27 June 2013 14:01:55 Albert Noll wrote:
> Hi,
>
> thanks for reviewing this small patch.
>
> Best,
> Albert
>
> jbs: https://jbs.oracle.com/bugs/browse/JDK-8015635
> webrev: http://cr.openjdk.java.net/~anoll/8015635/webrev/
> <http://cr.openjdk.java.net/%7Eanoll/8015635/webrev/>
>
> Problem: A code cache size larger than 2G is not supported and therefore
> results in VM crashes.
> Solution: Limit the size of the code cache to at most 2G when arguments
> are checked. If a larger code cache size is specified with
> -XX:ReservedCodeCacheSize=..., the JVM does not start and reports an error.
>
>
> Best,
> Albert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130627/4591819b/attachment.html
More information about the hotspot-compiler-dev
mailing list