[Vm-dev] 64bit FFI?
Andreas Raab
andreas.raab at gmx.de
Thu Feb 12 19:07:22 UTC 2009
Eliot Miranda wrote:
> I'm assuming that in-memory the 64-bit VM has 64-bit oops, right? So
> the VM has to swizzle 32-bit pointers to 64-bit. I haven't come across
> this swizzling code yet. I thought that the swizzling was done by the
> system tracer. Where is the in-VM code to swizzle pointers to 64-bits?
oopForPointer/pointerForOop translate between OOPs and pointers. So you
can translate from a 32bit Oop into a 64bit pointer by adding a base
address and vice versa.
Cheers,
- Andreas
More information about the Vm-dev
mailing list