Open sendaoYan opened 4 months ago
8221539: [metaspace] Improve MetaspaceObj::is_metaspace_obj() and friends
make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log standalone.log
diff --git a/hotspot/src/cpu/riscv/vm/frame_riscv.cpp b/hotspot/src/cpu/riscv/vm/frame_riscv.cpp
index 4406e617d6a..4cbd191daed 100644
--- a/hotspot/src/cpu/riscv/vm/frame_riscv.cpp
+++ b/hotspot/src/cpu/riscv/vm/frame_riscv.cpp
@@ -573,7 +573,7 @@ bool frame::is_interpreted_frame_valid(JavaThread* thread) const {
// validate constantPoolCache*
ConstantPoolCache* cp = *interpreter_frame_cache_addr();
- if (MetaspaceObj::is_valid(cp) == false) {
+ if (cp == NULL || !cp->is_metaspace_object()) {
return false;
}
To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 3ad188d433d..69eed596962 minus-jbs8276799 -> minus-jbs8276799
array_equals-8149100.log array_equals-before-8149100.log make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log standalone.log
standalone.log