Request for reviews (XL): 6655646: dynamic languages need dynamically linked call sites

Christian Thalinger Christian.Thalinger at Sun.COM
Tue Apr 14 13:32:38 PDT 2009


On Tue, 2009-04-14 at 13:02 -0700, John Rose wrote:
> On Apr 14, 2009, at 3:16 AM, Christian Thalinger wrote:
> > src/share/vm/interpreter/bytecode.cpp:
> > int Bytecode_invoke::index() const {
> > +  if (has_giant_index())
> > +    return Bytes::get_native_u4(bcp() + 1);
> I added this comment:
>   // Note:  Rewriter::rewrite changes the Java_u2 of an invokedynamic  
> to a native_u4,
>   // at the same time it allocates per-call-site CP cache entries.
> > Can you explain to me why the giant index of an invokedynamic is a
> > native 32-bit index?
> Does that explain?

It does, thanks.

> (P.S.  More please? :-)

I will do another round tomorrow.

-- Christian




More information about the hotspot-compiler-dev mailing list