Trouble finding the definition for class BarrierSet

Erik Österlund erik.osterlund at oracle.com
Mon Jun 4 20:18:23 UTC 2018


Hi Adrian,

On 2018-06-04 22:10, John Paul Adrian Glaubitz wrote:
> Hi Erik!
>
> On 06/04/2018 09:47 PM, Erik Österlund wrote:
>> Can't you just #include "gc/shared/barrierSet.hpp" in library_call.cpp?
> Hmm. Let me try. But why would it be necessary on linux-sparc and not
> anywhere else?

Not sure. But regardless of the case, that include should be in there 
anyway.

>> It is forward declared in oop.hpp, c1_LIRAssembler.hpp and  collectedHeap.hpp. Perhaps
>> you got one of those accidentally.
> You mean, I'm somehow pulling either of those headers in in library_call.cpp?

That sounds like the most natural explanation to me.

Thanks,
/Erik

> Adrian


More information about the hotspot-dev mailing list