Is it possible with Solaris 2.8 to switch between V8 (32bit) and V9 (64 bit) mode within the same process?
I'm aware of some different features (stack bias, etc.), but the V9 ABI doesn't tell anything about how a V8<->V9 switch is done. It must be done in the kernel somewhere, since it's possible to run both V8/ELF32 and V9/ELF64 binaries.
Background: We're having lots of V8 applications here and slowly some of them are running out of mappable shared memory (2GB). It would be nice to have the shared memory routines running in 64 bits (with -xcode=abs32).
Porting all to 64 bits is not an option, since this would require a huge regression testing effort.
(Yes, I know this is a tough one ... )