# assert(!n->pinned() || n->is_SafePointScalarObject()) failed: only SafePointScalarObject pinned node is expected here
Vladimir Kozlov
vladimir.kozlov at oracle.com
Thu Jul 22 11:45:44 PDT 2010
Christian Thalinger wrote:
> On Wed, 2010-07-21 at 19:24 -0700, Vladimir Kozlov wrote:
>> Christian, why you need to pin it and why you need control edge for it
>> (what dependancy it has with control graph)?
>
> MachConstantBaseNode is the node that represents the constant table base
> address and so should be at the beginning of the method. The control is
> C->root() and I thought it would be a good idea to pin it to this
> control.
No, it is bad idea. If you place this node far away from usage you will introduce
spillings for register which hold the value. From what I understand this node
should behave as loadConP_poll node.
Vladimir
>
> -- Christian
>
More information about the hotspot-compiler-dev
mailing list