< prev index next >

src/hotspot/share/utilities/singleWriterSynchronizer.hpp

Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi

*** 1,7 **** /* ! * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 53,65 **** volatile uint _waiting_for; Semaphore _wakeup; DEBUG_ONLY(volatile uint _writers;) ! // Noncopyable. ! SingleWriterSynchronizer(const SingleWriterSynchronizer&); ! SingleWriterSynchronizer& operator=(const SingleWriterSynchronizer&); public: SingleWriterSynchronizer(); // Enter a critical section for this synchronizer. Entering a --- 53,63 ---- volatile uint _waiting_for; Semaphore _wakeup; DEBUG_ONLY(volatile uint _writers;) ! NONCOPYABLE(SingleWriterSynchronizer); public: SingleWriterSynchronizer(); // Enter a critical section for this synchronizer. Entering a
< prev index next >