Atomic::cmpxchg_ptr code duplication
Paul.Hohensee at Sun.COM
Thu Apr 2 14:32:41 PDT 2009
Easy to see by looking at generated assembly where the methods are used.
In a product build directory (e.g., solaris_i486_compiler2/product), use
Christian Thalinger wrote:
> On Thu, 2009-04-02 at 14:01 -0700, John Coomes wrote:
>> Cool. FWIW, I had planned to fix it and filed bug
>> 6824520 Atomic - remove duplication and improve unsigned type support
>> But I'll happily let you have it if you want :-). Let me know.
> Well, let's see if we can agree on what we should do. Maybe Paul is
> right and some compilers--or even worse, the ones we use--do not
> optimize them in some cases.
> -- Christian
More information about the hotspot-dev