Boost logo

Boost :

Subject: Re: [boost] [lockfree] tagged_ptr as a separate library
From: Olaf van der Spek (ml_at_[hidden])
Date: 2012-04-12 13:04:41


On Thu, Apr 12, 2012 at 6:08 PM, Tim Blechmann <tim_at_[hidden]> wrote:
>> I've heard of the JVM running in 64bit memory model, but compressing
>> pointers into 32bits by taking advantage of word alignment and most of the
>> address space starting around 0.  It means they can access ~32GB memory
>> while not having the memory footprint of all pointers double.
>> UseCompressedOops
>>
>> http://publib.boulder.ibm.com/infocenter/javasdk/v6r0/index.jsp?topic=%2Fcom.ibm.java.doc.user.lnx.60%2Fuser%2Fgarbage_compressed_refs.html
>
>
> i suppose the main difference is that c++ runs on a real machine, while java
> runs on a virtual machine?

It could work on real hardware too if the OS supports it.

Olaf


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk