Re: Problem in Thread.c
"Chris Pickett" <[email protected]> Sun, 16 Apr 2006 15:59:41 -0400 (EDT)
| Newsgroups | gmane.comp.java.vm.sablevm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Seb,
This is just a guess, but maybe it is because the object instance for an
INVOKESTATIC is not on the heap but in class loader memory.
Chris
On Sun, April 16, 2006 10:41 am, S=E9bastien Adam wrote:
> ... maybe should I add that enter_object_monitor is called in the
> instruction SVM_INSTRUCTION_INVOKESTATIC in instructions_switch.c...
>
> /* preserve references on the stack across GC */
> frame->stack_size =3D stack_size + args_count;
>
> if (_svmf_enter_object_monitor (env, instance) !=3D JNI_OK) {
> goto exception_handler; }
>
>
> ...
> _______________________________________________
> SableVM-devel mailing list
> [email protected]
> http://sablevm.org/lists/control/listinfo/sablevm-devel
>
>