8247908: Replace IsRegisteredEnum with std::is_enum

Reviewed-by: tschatzl, dholmes
This commit is contained in:
Kim Barrett 2020-07-24 04:29:34 -04:00
parent 0ef80293f9
commit 55b19e84f2
9 changed files with 10 additions and 110 deletions

View file

@ -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