RFR: 8234779: Provide idiom for declaring classes noncopyable
per.liden at oracle.com
Wed Nov 27 08:43:10 UTC 2019
Please don't add this :( I don't think this adds any value, it add
another ugly macros I know I will never want to use. I'd much prefer to
read real C++ instead of some macro that hides what's going on.
On 11/27/19 1:18 AM, Kim Barrett wrote:
> Please review this change that adds a new macro NONCOPYABLE, for
> declaring a class to be noncopyable. This change also modifies a
> bunch of classes to use the new macro. Most of those classes already
> included equivalent code, and we're just replacing that with uses of
> the macro.
> (A few classes in PtrQueue.hpp that weren't previously made
> noncopyable but should have been are now also using the NONCOPYABLE
> mach5 tier1
> linux fastdebug builds for the following:
> 1. platforms: aarch64, arm32, ppc64le, s390x, zero.
> 2. x86_64 with shenandoah included.
> 3. x86_64 minimal configuration.
More information about the hotspot-dev