< prev index next >

src/hotspot/share/gc/z/zOop.hpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 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.

@@ -27,10 +27,15 @@
 #include "memory/allocation.hpp"
 #include "oops/oopsHierarchy.hpp"
 
 class ZOop : public AllStatic {
 public:
-  static oop from_address(uintptr_t addr);
+  static oop to_oop(uintptr_t value);
   static uintptr_t to_address(oop o);
+
+  static bool is_good(oop o);
+  static bool is_finalizable_good(oop o);
+
+  static oop good(oop);
 };
 
 #endif // SHARE_GC_Z_ZOOP_HPP
< prev index next >