harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [drlvm] HARMONY-956 - problem w/ DRLVM classloader
Date Fri, 11 Aug 2006 17:58:35 GMT
can you please add that patch to the JIRA entry?

Anton Luht wrote:
> Hello,
> 
> Yes, the problem with verifier is partly solved but problems in verifier
> remain.
> 
> method vf_resolve_class( name, true, ctex ) from ver_utils.cpp
> sometimes returns null when vf_resolve_class( name, false, ctex )
> returns non-null  for same class name. This method is for looking up
> classes, if I understand correctly, 'true' means load class if not
> loaded and 'false' - just take from cache anything that is there,
> don't try to load. The situation when class is in cache and 'deep'
> load can't find it shouldn't happen.
> 
> Temp workaround for this bug before deep investigation can be:
> 
> Index: ver_utils.cpp
> ===================================================================
> --- ver_utils.cpp       (revision 430763)
> +++ ver_utils.cpp       (working copy)
> @@ -1391,6 +1391,9 @@
> 
>     // get stack reference class
>     class_handler source = vf_resolve_class( constraint->source, true,
> ctex );
> +    if(source == NULL)  {
> +       source = vf_resolve_class( constraint->source, false, ctex );
> +    }
>     if( !source ) {
>         VERIFY_DEBUG( "verifying class " << class_get_name( ctex->m_class )
>             << " (method " << method_get_name( constraint->method )
> 
> 
> after that the activemq start fails with message:
> 
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
> java.la
> ng.ArrayStoreException
> 
> To be continued.
> 
> On 8/11/06, Gregory Shimansky <gshimansky@gmail.com> wrote:
>> I think I've fixed this a few days ago and attached the patch to JIRA.
>> See
>> my emails in this thread. Does it fix the problem with verifier for you?
>>
>> The problem with verifier is only the first one with activemq. After I
>> fixed
>> the exception problem the app still didn't start up.
>>
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message