hotspot/src/share/vm/gc/shared/gcLocker.cpp
changeset 40655 9f644073d3a0
parent 37242 91e5f98fff6f
equal deleted inserted replaced
40654:d4f8e348420a 40655:9f644073d3a0
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2016, 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.
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "gc/shared/collectedHeap.hpp"
    26 #include "gc/shared/collectedHeap.hpp"
    27 #include "gc/shared/gcLocker.inline.hpp"
    27 #include "gc/shared/gcLocker.inline.hpp"
    28 #include "memory/resourceArea.hpp"
    28 #include "memory/resourceArea.hpp"
    29 #include "logging/log.hpp"
    29 #include "logging/log.hpp"
    30 #include "runtime/atomic.inline.hpp"
    30 #include "runtime/atomic.hpp"
    31 #include "runtime/thread.inline.hpp"
    31 #include "runtime/thread.inline.hpp"
    32 
    32 
    33 volatile jint GCLocker::_jni_lock_count = 0;
    33 volatile jint GCLocker::_jni_lock_count = 0;
    34 volatile bool GCLocker::_needs_gc       = false;
    34 volatile bool GCLocker::_needs_gc       = false;
    35 volatile bool GCLocker::_doing_gc       = false;
    35 volatile bool GCLocker::_doing_gc       = false;