On Mon, 28 Apr 2025 14:36:33 GMT, Chen Liang <li...@openjdk.org> wrote:

>> Perf numbers for simple main:
>> Linking of `Class::forName0` down from ~152 to ~83
>> 
>> For calling little color management system 
>> https://bugs.openjdk.org/browse/JDK-8313344:
>> JNI: ~45
>> baseline panama: ~164
>> patch: ~103
>> 
>> Also see #24705.
>
> Chen Liang has updated the pull request with a new target base due to a merge 
> or a rebase. The incremental webrev excludes the unrelated changes brought in 
> by the merge/rebase. The pull request contains five additional commits since 
> the last revision:
> 
>  - Merge branch 'master' of https://github.com/openjdk/jdk into exp/ffm-lcms
>  - Use more simple function descriptor
>  - Simplify FFM linker warmup
>  - Merge branch 'master' of https://github.com/openjdk/jdk into exp/ffm-lcms
>  - Wip work trying to speed up FFM

This PR cause linux-riscv64 cross build fails.


# 
/tmp/tone/run/jtreg/jdk-repo/build/linux-riscv64-server-release/support/interim-image/bin/java
 -Xint 
-XX:DumpLoadedClassList=/tmp/tone/run/jtreg/jdk-repo/build/linux-riscv64-server-release/support/link_opt/classlist.raw
 -Duser.language=en -Duser.country=US -cp 
/tmp/tone/run/jtreg/jdk-repo/build/linux-riscv64-server-release/support/classlist.jar
 build.tools.classlist.HelloClasslist
hello
world!
from: 
localhost/127.0.0.1
WARNING: A restricted method in java.lang.foreign.Linker has been called
WARNING: java.lang.foreign.Linker::downcallHandle has been called by 
build.tools.classlist.HelloClasslist in an unnamed module 
(file:/tmp/tone/run/jtreg/jdk-repo/build/linux-riscv64-server-release/support/classlist.jar)
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers 
in this module
WARNING: Restricted methods will be blocked in a future release unless native 
access is enabled

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f46e794c5f1, pid=284260, tid=284261
#
# JRE version: OpenJDK Runtime Environment (25.0) (build 25-internal-83d0bd85)
# Java VM: OpenJDK 64-Bit Server VM (25-internal-83d0bd85, interpreted mode, 
compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0x79b5f1]  ForeignGlobals::parse_abi_descriptor(_jobject*)+0x1d1
#
# Core dump will be written. Default location: 
/tmp/tone/run/jtreg/jdk-repo/core.284260
#
# An error report file with more information is saved as:
# /tmp/tone/run/jtreg/jdk-repo/hs_err_pid284260.log

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24742#issuecomment-2840702669

Reply via email to