RFR (XS): Move implementation of process_grey_object to concurrentMark.inline.hpp

Volker Simonis volker.simonis at gmail.com
Thu Aug 13 06:45:08 UTC 2015


On Wednesday, August 12, 2015, Kim Barrett <kim.barrett at oracle.com> wrote:

> On Aug 6, 2015, at 9:49 AM, Siebenborn, Axel <axel.siebenborn at sap.com
> <javascript:;>> wrote:
> >
> > We had a linker problem with a C++ - compiler that inlined
> process_grey_object at all uses but removed the symbol and the actual
> implementation.
> > As there are explicit instantiations of this method in
> concurrentMark.cpp, this probably should not happen and can be considered
> of a bug of the C++ compiler.
>
> Did you mean “did not inline all uses”?  Otherwise, I’m not sure what the
> problem might be.
>
>  "Inline all uses" when compiling concurrentMark.cpp. That's why the
explicit instantiations were removed from concurrentMark.o. But there are
other compilation units which reference process_grey_objec(), hence the
undefined symbols during linking.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20150813/5cb74a7f/attachment.htm>


More information about the hotspot-gc-dev mailing list