RFR (S): 8140343: SEGV in DirectivesStack::getMatchingDirective

Christian Thalinger christian.thalinger at oracle.com
Fri Oct 23 20:39:47 UTC 2015


> On Oct 22, 2015, at 11:03 PM, Nils Eliasson <nils.eliasson at oracle.com> wrote:
> 
> Hi all,
> 
> This fixes a bug when using a compiler that doesn't have compiler directives. This is a temporary fix using the default directive for c1.

What are the default directives for C1 and C2?  This fix is for JVMCI compilers and JVMCI compilers can only replace C2 in a tiered configuration.  Depending on what they are, wouldn’t it make more sense to use C2’s default directives?

> In the future permanent fix all compilers will have directives by default.

How would that look like?

> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8140343
> webrev: http://cr.openjdk.java.net/~neliasso/8140343/webrev.01/
> 
> Please review,
> Nils



More information about the hotspot-compiler-dev mailing list