src/hotspot/share/runtime/mutex.hpp
changeset 49818 e57e6addb978
parent 47634 6a0c42c40cd1
child 50203 39d88709b138
equal deleted inserted replaced
49817:a838e3707f3a 49818:e57e6addb978
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   104   enum lock_types {
   104   enum lock_types {
   105        event,
   105        event,
   106        access         = event          +   1,
   106        access         = event          +   1,
   107        special        = access         +   2,
   107        special        = access         +   2,
   108        suspend_resume = special        +   1,
   108        suspend_resume = special        +   1,
   109        leaf           = suspend_resume +   2,
   109        vmweak         = suspend_resume +   2,
       
   110        leaf           = vmweak         +   2,
   110        safepoint      = leaf           +  10,
   111        safepoint      = leaf           +  10,
   111        barrier        = safepoint      +   1,
   112        barrier        = safepoint      +   1,
   112        nonleaf        = barrier        +   1,
   113        nonleaf        = barrier        +   1,
   113        max_nonleaf    = nonleaf        + 900,
   114        max_nonleaf    = nonleaf        + 900,
   114        native         = max_nonleaf    +   1
   115        native         = max_nonleaf    +   1