dragonwell-releng / issues-repo

0 stars 0 forks source link

[riscv64-8u]RISCV64Frame.java:401: error: cannot find symbol ImmutableOopMapSet #50

Open sendaoYan opened 5 months ago

sendaoYan commented 5 months ago
/home/yansendao/software/jdk/2024-05/dragonwell-8.18.19/bin/javac -g -encoding ascii -source 7 -target 7 -classpath /home/yansendao/software/jdk/2024-05/dragonwell-8.18.19/lib/tools.jar -sourcepath /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes -d /home/yansendao/git/riscv-port-jdk8u-ysd/build/linux-aarch64-normal-server-release/hotspot/linux_aarch64_compiler2/product/../generated/saclasses @/home/yansendao/git/riscv-port-jdk8u-ysd/build/linux-aarch64-normal-server-release/hotspot/linux_aarch64_compiler2/product/../generated/agent.classes.list
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64Frame.java:401: error: cannot find symbol
        ImmutableOopMapSet.updateRegisterMap(this, cb, map, true);
        ^
  symbol:   variable ImmutableOopMapSet
  location: class RISCV64Frame
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

make-x86_64.log make-aarch64.log

sendaoYan commented 5 months ago
diff --git a/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64Frame.java b/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64Frame.java
index e372bc5f7be..6015057e2cf 100644
--- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64Frame.java
+++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/riscv64/RISCV64Frame.java
@@ -398,7 +398,7 @@ public class RISCV64Frame extends Frame {
       map.setIncludeArgumentOops(cb.callerMustGCArguments());

       if (cb.getOopMaps() != null) {
-        ImmutableOopMapSet.updateRegisterMap(this, cb, map, true);
+        OopMapSet.updateRegisterMap(this, cb, map, true);
       }

       // Since the prolog does the save and restore of FP there is no oopmap
sendaoYan commented 5 months ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 8c59e2ff591..41e63525186 minus-jbs8276799 -> minus-jbs8276799