hg: mlvm/mlvm/hotspot: indy.compiler: A couple more CP fixes, to make tests work in -Xcomp mode.
Christian Thalinger
Christian.Thalinger at Sun.COM
Wed Jul 8 11:23:00 PDT 2009
John Rose wrote:
> On Jul 8, 2009, at 9:05 AM, Christian Thalinger wrote:
>
>>> # Error: assert(mt == t->xmeet(this),"meet not commutative")
>>>
>>> It's not related to MethodHandles as it happens too early.
>> I just verified that the bug is in nonperm.patch (or at least it
>> produces the bug).
>
> It's probably simple to fix, but let's not explore that bug-tail.
>
> For now, you could try changing this in parse3.cpp:
> - oop_constant->has_encoding()
> + oop_constant->has_encoding() && oop_constant->is_perm()
>
> That will revert the treatment of static finals to accept only perm-
> gen objects, but you can still use your own non-perm constants.
No, that doesn't fix the problem. The assert still happens.
-- Christian
More information about the mlvm-dev
mailing list