RFR: 8343805: RISC-V: JVM crashes on startup when disabling compressed instructions
    Fei Yang 
    fyang at openjdk.org
       
    Fri Nov  8 02:18:06 UTC 2024
    
    
  
Hello, please review this trivial change.
The reason of the crash is that we will use more space for compiler stubs during stubRoutines
generation when compressed instructions is disabled. So this simply increases the reserved size
of compiler stubs for this CPU platform. After this change, we have:
$ java -Xlog:stubs -XX:-UseRVC -version
[0.010s][info][stubs] StubRoutines (initial stubs)       [0x0000003f8f3cf340, 0x0000003f8f3d1cd0] used: 604, free: 10036
[0.117s][info][stubs] StubRoutines (continuation stubs)  [0x0000003f8f3d25c0, 0x0000003f8f3d3010] used: 628, free: 2012
[0.153s][info][stubs] StubRoutines (final stubs)         [0x0000003f8f4025c0, 0x0000003f8f409d70] used: 9380, free: 21260
[0.199s][info][stubs] StubRoutines (compiler stubs)      [0x0000003f8f4d7c40, 0x0000003f8f4e3180] used: 38924, free: 7476
-------------
Commit messages:
 - 8343805: RISC-V: JVM crashes on startup when disabling compressed instructions
Changes: https://git.openjdk.org/jdk/pull/21966/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21966&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343805
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21966.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21966/head:pull/21966
PR: https://git.openjdk.org/jdk/pull/21966
    
    
More information about the hotspot-compiler-dev
mailing list