--- a/src/hotspot/share/runtime/frame.cpp Thu Oct 17 20:27:44 2019 +0100
+++ b/src/hotspot/share/runtime/frame.cpp Thu Oct 17 20:53:35 2019 +0100
@@ -33,7 +33,7 @@
#include "interpreter/oopMapCache.hpp"
#include "memory/resourceArea.hpp"
#include "memory/universe.hpp"
-#include "oops/markOop.hpp"
+#include "oops/markWord.hpp"
#include "oops/method.hpp"
#include "oops/methodData.hpp"
#include "oops/oop.inline.hpp"
@@ -723,7 +723,7 @@
void set(int size, BasicType type) {
_offset -= size;
- if (type == T_OBJECT || type == T_ARRAY) oop_offset_do();
+ if (is_reference_type(type)) oop_offset_do();
}
void oop_offset_do() {
@@ -776,7 +776,7 @@
void set(int size, BasicType type) {
assert (_offset >= 0, "illegal offset");
- if (type == T_OBJECT || type == T_ARRAY) oop_at_offset_do(_offset);
+ if (is_reference_type(type)) oop_at_offset_do(_offset);
_offset -= size;
}
@@ -927,7 +927,7 @@
VMRegPair* _regs; // VMReg list of arguments
void set(int size, BasicType type) {
- if (type == T_OBJECT || type == T_ARRAY) handle_oop_offset();
+ if (is_reference_type(type)) handle_oop_offset();
_offset += size;
}