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

Reply via email to