src/hotspot/share/gc/shared/preservedMarks.cpp
changeset 49722 a47d1e21b3f1
parent 47885 5caa1d5f74c1
child 51598 c88019b32bc4
equal deleted inserted replaced
49721:ea0cc7c74e75 49722:a47d1e21b3f1
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 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.
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "gc/shared/preservedMarks.inline.hpp"
    26 #include "gc/shared/preservedMarks.inline.hpp"
    27 #include "gc/shared/workgroup.hpp"
    27 #include "gc/shared/workgroup.hpp"
    28 #include "memory/allocation.inline.hpp"
    28 #include "memory/allocation.inline.hpp"
    29 #include "memory/resourceArea.hpp"
    29 #include "memory/resourceArea.hpp"
       
    30 #include "oops/oop.inline.hpp"
    30 #include "utilities/macros.hpp"
    31 #include "utilities/macros.hpp"
    31 
    32 
    32 void PreservedMarks::restore() {
    33 void PreservedMarks::restore() {
    33   while (!_stack.is_empty()) {
    34   while (!_stack.is_empty()) {
    34     const OopAndMarkOop elem = _stack.pop();
    35     const OopAndMarkOop elem = _stack.pop();