openjdk crashes while installing jdeveloper
    Kurt Miller 
    kurt at intricatesoftware.com
       
    Thu Feb 10 06:30:52 PST 2011
    
    
  
On Wednesday 09 February 2011 07:11:38 pm Christos Zoulas wrote:
> On Feb 9,  7:37am, kurt at intricatesoftware.com (Kurt Miller) wrote:
> -- Subject: Re: openjdk crashes while installing jdeveloper
> 
> | Nikolas and I are working on this off list. The bsd_zero apple
> | atomic operation implementations such as atomic_swap and
> | atomic_cas are not thread safe. SMP makes that problem
> | easier to see. We tried using the gcc 4.2 builtin atomic operations
> | however the are now deadlocks to debug.
> 
> Well, NetBSD has assembly implementations of the standard atomics
> for all major archs. I know that zero means zero assembly, but perhaps
> we can make an exception in this case?
Hi Christos,
Indeed. If GCC 4.2 atomics don't pan out, I'd prefer to write them myself.
The asm for it is straitforward. I'm more conserned that there are locking
issues in the zero implementation. Once I have decent debug info I should
be able to determine cause of the deadlocks.
-Kurt
    
    
More information about the bsd-port-dev
mailing list