Hi Suriya,
the reflection code just makes regular bytecode so this is just a
regular bug in the compiler. It looks like we're deciding not to
dynamic link when we need to. Please can you move this bug to JIRA.
Thanks,
Ian
2009/2/14 Suriya Subramanian <
suriya@...>:
> I am trying to run CrossFTP server and I get an error which I think is related
> to reflection.
>
> I am using Jikes RVM SVN r15388 with BaseBaseSemiSpace configuration. With
> -X:base:verbose=true configuration the last three few methods that are
> compiled are
>
> -methodBaseline $Proxy7 info (Ljava/lang/Object;)V
> -methodBaseline org.apache.ftpserver.FtpLogFactory$1 invoke (Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
> -methodBaseline org.jikesrvm.classloader.ReflectionBase$$Reflect39766 invokeInternal (Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
>
> And then then I get an assertion failure in RVMMember.getOffset(). Some
> values of variables that I thought might be useful to state here:
>
> this.declaringClass.name = Lorg/apache/commons/logging/Log;
> this.memRef.name = info
> this.memRef.descriptor = (Ljava/lang/Object;)V
> this.offset = NO_OFFSET
>
> The full stacktrace is available here:
http://dpaste.com/120530/>
> The top methods of the stacktrace are:
> at Lorg/jikesrvm/VM; sysFail(Ljava/lang/String;)V at line 2145
> at Lorg/jikesrvm/VM; _assertionFailure(Ljava/lang/String;Ljava/lang/String;)V at line 635
> at Lorg/jikesrvm/VM; _assert(ZLjava/lang/String;Ljava/lang/String;)V at line 618
> at Lorg/jikesrvm/VM; _assert(Z)V at line 596
> at Lorg/jikesrvm/classloader/RVMMember; getOffset()Lorg/vmmagic/unboxed/Offset; at line 200
> at Lorg/jikesrvm/compilers/baseline/ia32/BaselineCompilerImpl; emit_resolved_invokevirtual(Lorg/jikesrvm/classloader/MethodReference;)V at line 3012
> at Lorg/jikesrvm/compilers/baseline/TemplateCompilerFramework; genCode()Lorg/jikesrvm/ArchitectureSpecific$MachineCode; at line 1473
> at Lorg/jikesrvm/compilers/baseline/BaselineCompiler; compile()V at line 254
>
> Suriya
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
>
http://p.sf.net/sfu/XcvMzF8H> _______________________________________________
> Jikesrvm-researchers mailing list
>
Jikesrvm-researchers@...
>
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H_______________________________________________
Jikesrvm-researchers mailing list
Jikesrvm-researchers@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers