RFR(S): 8222103: [testbug] compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest may exceed VM limit
Igor Ignatyev
igor.ignatyev at oracle.com
Mon Apr 8 17:24:52 UTC 2019
Hi Peter,
I don't think it's a test bug, VM shouldn't stop execution if someone requests too many compiler directives, instead it should reject requests which will exceed its capacity.
-- Igor
> On Apr 8, 2019, at 1:18 AM, Januschke, Peter <peter.januschke at sap.com> wrote:
>
> Hi,
>
> I propose the following fix to the test mentioned in the subject:
>
> Problem:
> The test generates a random number of compiler directives, which might be greater than the value of CompilerDirectivesLimit. This causes the VM to stop execution upon the corresponding capacity check.
>
> Fix: set CompilerDirectivesLimit to the max random number used.
>
> http://cr.openjdk.java.net/~goetz/wr19/peter/8222103-01 <http://cr.openjdk.java.net/~goetz/wr19/peter/8222103-01>
>
> https://bugs.openjdk.java.net/browse/JDK-8222103 <https://bugs.openjdk.java.net/browse/JDK-8222103>
>
> Please review, and I please need a sponsor.
>
> Best regards
>
> Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20190408/0ad03345/attachment.html>
More information about the hotspot-compiler-dev
mailing list