JDK 9 RFR of JDK-8027595: Enable BigInteger overflow tests in JTREG

Alan Bateman Alan.Bateman at oracle.com
Fri Jan 3 12:15:09 UTC 2014


On 02/01/2014 20:47, Brian Burkhalter wrote:
> Would adding
>
> @run main/othervm -Xmx1200M BitLengthOverflow
>
> and similarly to the other three tests be acceptable?
>
> Brian
This could potentially be problematic on Windows 32-bit but it would 
help if you add -Xshare:off so that you don't have the shared archive 
mapped. Also I assume that if you do this that the code to catch OOME 
should be removed.

That said, I can imagine it causing problems on small memory/embedded 
targets where this will exceed the total memory on the system. The real 
issue here of course is that we aren't using keywords or other means 
that allow filtering and selection of tests. This is something that will 
need to be tackled some day.

-Alan



More information about the core-libs-dev mailing list