Atomic::cmpxchg_ptr code duplication

Christian Thalinger Christian.Thalinger at Sun.COM
Sat Apr 4 06:10:20 PDT 2009

On Thu, 2009-04-02 at 17:14 -0400, Keith McGuigan wrote:
> Does making this change use the assumption that
> sizeof(intptr_t) == sizeof(void*) all the time?  

Yes, it does.

> If so, can you make 
> sure there's an assertion in there somewhere (with verbose comments) so 
> if we ever run across a platform where this is not true, it will be 
> obvious what needs to be fixed?

I can add such an assert.

-- Christian

More information about the hotspot-dev mailing list