Atomic::cmpxchg_ptr code duplication

Paul Hohensee Paul.Hohensee at Sun.COM
Sat Apr 4 09:46:30 PDT 2009


Look for the asm code they should generate.  E.g., cmpxchg instruction.
Check the C++ source code of the method they supposed to be compiled into.

paul

Christian Thalinger wrote:
> On Thu, 2009-04-02 at 17:32 -0400, Paul Hohensee wrote:
>   
>> 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
>>
>>    gnumake foo.s
>>     
>
> ...and I should see where the methods are used?  Sorry, I don't
> understand.
>
> -- Christian
>
>   



More information about the hotspot-dev mailing list