JavaOne meet-up?

Rémi Forax forax at univ-mlv.fr
Tue Sep 28 11:04:00 PDT 2010


Le 28/09/2010 17:46, Christian Thalinger a écrit :
> On Fri, 2010-09-24 at 21:24 +0200, Christian Thalinger wrote:
>    
>> On Fri, 2010-09-24 at 15:23 +0200, Rémi Forax wrote:
>>      
>>> Christian, you can also test with PHP.reboot
>>>     http://code.google.com/p/phpreboot/
>>> tests are here:
>>>
>>> http://code.google.com/p/phpreboot/source/browse/#svn/trunk/phpreboot/test
>>>
>>> The runtime also provides an ahead of time compiler that generates
>>> bytecode classes:
>>>     bin/phpr.sh -aot test/testfibo.phpr
>>>        
>> Thanks for the hint, I'll give it a try.  -- Christian
>>      
> Is there a reason why all your libraries are on the boot-classpath?
>
> When I run test/testtracefun2.phpr and put the libraries on the
> system-classpath I get a segfault when verifying the signature of a
> DirectMethodHandle.
>    

Two reasons.
When I start the project, the RI was throwing a ClassNotFoundError
if a class used in a signature of an invokedynamic
was not loaded by the bootstrap classloader.
Since John fixes that problem.

The other reason is more dubious, put classes in bootclasspath avoid
verification which speed up the start-up time.

> Anyway, I think there is a bug somewhere.
>
> -- Christian
>    

Rémi


More information about the mlvm-dev mailing list