< prev index next >

src/share/vm/runtime/park.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2013, 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) 1997, 2015, 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.
*** 119,144 **** private: ParkEvent * FreeNext ; // Current association Thread * AssociatedWith ; - intptr_t RawThreadIdentity ; // LWPID etc - volatile int Incarnation ; - - // diagnostic : keep track of last thread to wake this thread. - // this is useful for construction of dependency graphs. - void * LastWaker ; public: // MCS-CLH list linkage and Native Mutex/Monitor ParkEvent * volatile ListNext ; - ParkEvent * volatile ListPrev ; volatile intptr_t OnList ; volatile int TState ; volatile int Notified ; // for native monitor construct - volatile int IsWaiting ; // Enqueued on WaitSet - private: static ParkEvent * volatile FreeList ; static volatile int ListLock ; --- 119,135 ----
*** 153,167 **** ParkEvent() : PlatformEvent() { AssociatedWith = NULL ; FreeNext = NULL ; ListNext = NULL ; - ListPrev = NULL ; OnList = 0 ; TState = 0 ; Notified = 0 ; - IsWaiting = 0 ; } // We use placement-new to force ParkEvent instances to be // aligned on 256-byte address boundaries. This ensures that the least // significant byte of a ParkEvent address is always 0. --- 144,156 ----
< prev index next >