RFR: 8290264 : java/util/concurrent/locks/Lock/OOMEInAQS.java fails with "exit code: 0" [v2]

Alan Bateman alanb at openjdk.org
Thu Jul 14 16:25:04 UTC 2022


On Thu, 14 Jul 2022 16:15:48 GMT, Doug Lea <dl at openjdk.org> wrote:

>> This test now conforms to jtreg rules about not using System.exit to cover untested OutOfMemoryErrors
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
> 
>   try/lock() style

Sorry I missed the use of System.exit when looking at the origin version. The update looks good (the explicit System.gc is probably not needed, setting data to null is enough)

-------------

Marked as reviewed by alanb (Reviewer).

PR: https://git.openjdk.org/jdk/pull/9491


More information about the core-libs-dev mailing list