< prev index next >
src/hotspot/share/gc/common/suspendibleThreadSet.hpp
Print this page
rev 47468 : 8189276: Make SuspendibleThreadSet and related code available to other GCs
*** 1,7 ****
/*
! * Copyright (c) 2014, 2016, 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) 2014, 2017, 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.
*** 20,31 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_VM_GC_G1_SUSPENDIBLETHREADSET_HPP
! #define SHARE_VM_GC_G1_SUSPENDIBLETHREADSET_HPP
#include "memory/allocation.hpp"
// A SuspendibleThreadSet is a set of threads that can be suspended.
// A thread can join and later leave the set, and periodically yield.
--- 20,31 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef SHARE_GC_COMMON_SUSPENDIBLETHREADSET_HPP
! #define SHARE_GC_COMMON_SUSPENDIBLETHREADSET_HPP
#include "memory/allocation.hpp"
// A SuspendibleThreadSet is a set of threads that can be suspended.
// A thread can join and later leave the set, and periodically yield.
*** 114,119 ****
SuspendibleThreadSet::join();
}
}
};
! #endif // SHARE_VM_GC_G1_SUSPENDIBLETHREADSET_HPP
--- 114,119 ----
SuspendibleThreadSet::join();
}
}
};
! #endif // SHARE_GC_COMMON_SUSPENDIBLETHREADSET_HPP
< prev index next >