This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [Gc] Re: boehm-gc merge for GCC


> 
> > - bdwgc now depends on another library (libatomic-ops). Shouldn't GCC
> >   be able to use it's atomic builtins for some supported targets at
> >   least?
> 
> 
> Yes, but it sounds like far more effort than its worth to go and change
> it
> just for the sake of using builtins. Maybe libatomic-ops itself could
> be
> made to use the builtins when available.
> 
Libatomic_ops should eventually be configurable to just use C11/C++11 atomic operations.  That hasn't happened yet, but should be fairly easy.  Or, if we wait long enough, we could just use the C11 primitves directly.  Historically libatomic-ops preceded and influenced the C11/C++11 interface, but the C11/C++11 interface is a much better design (another iteration, a lot more careful thought by many more people, etc.)

Hans


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]