mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8247908: Replace IsRegisteredEnum with std::is_enum
Reviewed-by: tschatzl, dholmes
This commit is contained in:
parent
0ef80293f9
commit
55b19e84f2
9 changed files with 10 additions and 110 deletions
|
@ -27,7 +27,6 @@
|
|||
|
||||
#include "memory/allocation.hpp"
|
||||
#include "memory/padded.hpp"
|
||||
#include "metaprogramming/isRegisteredEnum.hpp"
|
||||
#include "oops/markWord.hpp"
|
||||
#include "runtime/os.hpp"
|
||||
#include "runtime/park.hpp"
|
||||
|
@ -378,7 +377,4 @@ class ObjectMonitor {
|
|||
void install_displaced_markword_in_object(const oop obj);
|
||||
};
|
||||
|
||||
// Register for atomic operations.
|
||||
template<> struct IsRegisteredEnum<ObjectMonitor::AllocationState> : public TrueType {};
|
||||
|
||||
#endif // SHARE_RUNTIME_OBJECTMONITOR_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue