[jdk13u-dev] Integrated: 8234779: Provide idiom for declaring classes noncopyable

Olga Mikhaltsova omikhaltcova at openjdk.java.net
Mon Mar 22 11:15:49 UTC 2021


On Mon, 22 Mar 2021 09:42:55 GMT, Olga Mikhaltsova <omikhaltcova at openjdk.org> wrote:

> I'd like to backport JDK-8234779 to jdk13u for parity with jdk11u.
> The original patch applied not cleanly. 
> 
> The merge was required for the following 6 files:
> 1) due to the context changes in the includes of headers part:
> src/hotspot/share/utilities/bitMap.hpp
> src/hotspot/share/gc/z/zList.hpp
> 2) due to no definition of such a class (PlatformMutex):  
> src/hotspot/os/windows/os_windows.hpp
> src/hotspot/os/solaris/os_solaris.hpp
> src/hotspot/os/posix/os_posix.hpp
> 3) due to the context changes:
> src/hotspot/share/gc/shared/ptrQueue.hpp
> 
> All regular tests passed.

This pull request has now been integrated.

Changeset: 3186873e
Author:    Olga Mikhaltsova <omikhaltcova at openjdk.org>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk13u-dev/commit/3186873e
Stats:     161 lines in 37 files changed: 52 ins; 60 del; 49 mod

8234779: Provide idiom for declaring classes noncopyable

Add NONCOPYABLE macro and uses.

Reviewed-by: yan
Backport-of: 577e87e5b27a3f4c590258b370a42c511f724cbc

-------------

PR: https://git.openjdk.java.net/jdk13u-dev/pull/158


More information about the jdk-updates-dev mailing list