src/share/vm/prims/jniFastGetField.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2004, 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) 2004, 2010, 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,29 ****
--- 20,35 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP
+ #define SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP
+
+ #include "memory/allocation.hpp"
+ #include "prims/jvm_misc.hpp"
+
// Basic logic of a fast version of jni_Get<Primitive>Field:
//
// (See safepoint.hpp for a description of _safepoint_counter)
//
// load _safepoint_counter into old_counter
*** 90,94 ****
--- 96,102 ----
//
// The GC may decide to temporarily stuff some bad values into handles,
// for example, for debugging purpose, in which case we need the mapping also.
static address find_slowcase_pc(address pc);
};
+
+ #endif // SHARE_VM_PRIMS_JNIFASTGETFIELD_HPP