RFR (M): 8184334: Generalizing Atomic with templates

Aleksey Shipilev shade at redhat.com
Mon Jul 17 15:13:38 UTC 2017

On 07/17/2017 04:21 PM, Andrew Haley wrote:
> On 14/07/17 17:28, Erik Österlund wrote:
>> As for oracle-external ports, I would appreciate if port maintainers
>> could check if it seems to make sense. I have done my best to try to
>> make the appropriate changes where needed.
> It seems to, but it looks over-engineered.  We're relying on the C++
> compiler to get rid of all of the casts and calls, but it's always
> better not to write code we don't want to execute. 

I have a related question: how are fastdebug builds doing? This is important,
because we run lots of tests on fastdebug builds, and making them slower would
be inconvenient.

Something like the Unsafe.{get|put|CAS} -Xint performance test would be nice to


More information about the hotspot-runtime-dev mailing list