16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 #ifndef SHARE_GC_Z_ZOOP_HPP
25 #define SHARE_GC_Z_ZOOP_HPP
26
27 #include "memory/allocation.hpp"
28 #include "oops/oopsHierarchy.hpp"
29
30 class ZOop : public AllStatic {
31 public:
32 static oop to_oop(uintptr_t value);
33 static uintptr_t to_address(oop o);
34
35 static bool is_good(oop o);
36 static bool is_good_or_null(oop o);
37
38 static oop good(oop);
39 };
40
41 #endif // SHARE_GC_Z_ZOOP_HPP
|
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 #ifndef SHARE_GC_Z_ZOOP_HPP
25 #define SHARE_GC_Z_ZOOP_HPP
26
27 #include "memory/allocation.hpp"
28 #include "oops/oopsHierarchy.hpp"
29
30 class ZOop : public AllStatic {
31 public:
32 static oop to_oop(uintptr_t value);
33 static uintptr_t to_address(oop o);
34
35 static bool is_good(oop o);
36 static bool is_finalizable_good(oop o);
37
38 static oop good(oop);
39 };
40
41 #endif // SHARE_GC_Z_ZOOP_HPP
|