RFR: JDK-8142333: Build failure in debugInfoRec.cpp with SS12u4

Tom Rodriguez tom.rodriguez at oracle.com
Mon Nov 30 17:44:17 UTC 2015


> On Nov 27, 2015, at 3:19 AM, Erik Joelsson <erik.joelsson at oracle.com> wrote:
> 
> You were correct, it didn't work when I built with "make INCLUDE_JMVCI=false". Here is a new webrev where that part is fixed:
> 
> http://cr.openjdk.java.net/~erikj/8142333/webrev.hotspot.01/
> 
> (I accidentally overwrote the old one)
> 
> It changes the other accesses to _offset to offset().
> 
> Regarding why the patch works, Tom, could you please fill in here?

I’m not sure what you’re asking.  I only tested the JVMCI build so I missed the other usage.  I agree it seems like a bug that the Solaris compiler doesn’t like the previous version of the code, but the fix makes it use normal access controls so I think it’s better anyway.

tom

> 
> /Erik
> 
> On 2015-11-25 15:47, Coleen Phillimore wrote:
>> 
>> I don't think this change will compile with INCLUDE_JVMCI off either.
>> Coleen
>> 
>> On 11/25/15 4:02 AM, Erik Joelsson wrote:
>>> Hello,
>>> 
>>> The following new build failure has appeared in the hotspot build when using the proposed new compiler version on Solaris, SS12u4.
>>> 
>>> "/opt/jprt/jprtadm/erik/jdk9-dev/hotspot/src/share/vm/code/debugInfoRec.cpp", line 281: Error: static DIR_Chunk::compare(DIR_Chunk*const&, DIR_Chunk*const&) is not accessible from GrowableArray<DIR_Chunk*>::insert_sorted<&DIR_Chunk::compare>(DIR_Chunk*&).
>>> "/opt/jprt/jprtadm/erik/jdk9-dev/hotspot/src/share/vm/code/debugInfoRec.cpp", line 281: Where: While instantiating "GrowableArray<DIR_Chunk*>::insert_sorted<&DIR_Chunk::compare>(DIR_Chunk*&)". 
>>> "/opt/jprt/jprtadm/erik/jdk9-dev/hotspot/src/share/vm/code/debugInfoRec.cpp", line 281: Where: Instantiated from non-template code.
>>> 
>>> Tom Rodriguez provided a patch and I have verified that it solves the issue. Since this is blocking us upgrading compilers on Solaris, I am taking the liberty of posting it for review so we may get this resolved quickly.
>>> 
>>> Bug: https://bugs.openjdk.java.net/browse/JDK-8142333
>>> Webrev: http://cr.openjdk.java.net/~erikj/8142333/webrev.hotspot.01/
>>> 
>>> /Erik
>> 
> 



More information about the hotspot-dev mailing list