RFR - 7154517: Build error in hotspot-gc without precompiled headers

Bengt Rutisson bengt.rutisson at oracle.com
Mon Mar 19 13:34:16 UTC 2012


Nils,

I think your change looks fine, but I have a question.

Even before your change this would build on Solaris, right? But it will 
not build if you turn precompiled headers off. Since Solaris is not 
using precompiled headers, how did it build on Solaris?

It seems to me like there is another bug lurking here. Can it be that 
some Solaris-specific files somehow has precompiled.hpp in the 
transitive set of its include files? Seems strange to me.

Bengt


On 2012-03-16 16:25, Nils Loodin wrote:
> Debugging a precompiled header on solaris issue by trying to build without precompiled headers locally from the gc repo. And it didn't work! :)
>
> Here's a pretty easy fix!
>
> http://cr.openjdk.java.net/~nloodin/7154517/webrev.00/
>
> Regards
> Nils Loodin




More information about the hotspot-gc-dev mailing list