Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[upstream]gtest/LargePageGtests.java#use-large-pages-1G随机失败 #54

Open
sendaoYan opened this issue Mar 6, 2023 · 3 comments
Open

Comments

@sendaoYan
Copy link
Collaborator

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/152298?tab=2

A
Range [7f7b99144000-7f7b9914a000) contains: 
7f7b99144000-7f7b99145000 rwxp 00000000 00:00 0 
7f7b99145000-7f7b99146000 rw-p 00000000 00:00 0 
7f7b99146000-7f7b99147000 rwxp 00000000 00:00 0 
7f7b99147000-7f7b99148000 rw-p 00000000 00:00 0 
7f7b99148000-7f7b99149000 rwxp 00000000 00:00 0 
7f7b99149000-7f7b9914a000 rw-p 00000000 00:00 0 

B
Range [7f7b99144000-7f7b9914a000) contains: 
7f7b99144000-7f7b99145000 rwxp 00000000 00:00 0 
7f7b99149000-7f7b9914a000 rw-p 00000000 00:00 0 

C
Range [7f7b99144000-7f7b9914a000) contains: 
7f7b99144000-7f7b99145000 rwxp 00000000 00:00 0 
7f7b99145000-7f7b99149000 ---p 00000000 00:00 0 
7f7b99149000-7f7b9914a000 rw-p 00000000 00:00 0 

[       OK ] os.release_multi_mappings_vm (1 ms)
[ RUN      ] os.release_one_mapping_multi_commits_vm
A
Range [7f7b19d7b000-7f7b1ad7b000) contains: 
7f7b19d7b000-7f7b1a17b000 rw-p 00000000 00:00 0 
7f7b1a17b000-7f7b1a57b000 ---p 00000000 00:00 0 
7f7b1a57b000-7f7b1a97b000 rw-p 00000000 00:00 0 
7f7b1a97b000-7f7b1ad7b000 ---p 00000000 00:00 0 

B
Range [7f7b19d7b000-7f7b1ad7b000) contains: 
nothing.

test/hotspot/gtest/runtime/test_os.cpp:528: Failure
Expected equality of these values:
  p2
    Which is: NULL
  p
    Which is: 0x7f7b19d7b000
[  FAILED  ] os.release_one_mapping_multi_commits_vm (1 ms)
@sendaoYan
Copy link
Collaborator Author

jdk17u-dev已经修复

image

@sendaoYan
Copy link
Collaborator Author

jdk17u-dev 90次未复现
image

@sendaoYan sendaoYan changed the title 【上游问题】gtest/LargePageGtests.java#use-large-pages-1G随机失败 [upstream]gtest/LargePageGtests.java#use-large-pages-1G随机失败 Dec 8, 2023
@dzchun
Copy link

dzchun commented Aug 22, 2024

最新版本已修复

[dongzhichun@CompilerTest-aarch64-5 dragonwell17]$ export native=-nativepath:images-dragonwell17/dragonwell-17.0.11.0.12+9-GA-test-image/hotspot/jtreg/native
[dongzhichun@CompilerTest-aarch64-5 dragonwell17]$ export test=jdk-repo-dragonwell17/test/hotspot/jtreg/gtest/LargePageGtests.java
[dongzhichun@CompilerTest-aarch64-5 dragonwell17]$
[dongzhichun@CompilerTest-aarch64-5 dragonwell17]$ alias 'j=which java ; rm -rf tmp ; time jtreg -w tmp -nr -v:fail,error'
[dongzhichun@CompilerTest-aarch64-5 dragonwell17]$ j -Xmixed $native $test
~/working/tone/dragonwell17/bin-dragonwell17/dragonwell-17.0.11.0.12+9-GA/bin/java
Directory "tmp" not found: creating
--------------------------------------------------
TEST: gtest/LargePageGtests.java#use-large-pages
TEST RESULT: Passed. Execution successful
--------------------------------------------------
TEST: gtest/LargePageGtests.java#use-large-pages-1G
TEST RESULT: Passed. Execution successful
--------------------------------------------------
TEST: gtest/LargePageGtests.java#use-large-pages-sysV
TEST RESULT: Passed. Execution successful
--------------------------------------------------
Test results: passed: 3
Results written to /home/dongzhichun/working/tone/dragonwell17/tmp

real    0m7.123s
user    0m22.053s
sys     0m1.759s
[dongzhichun@CompilerTest-aarch64-5 dragonwell17]$ function runJtreg() { jtreg -Xmixed -ea -esa $native -timeoutFactor:4 -v:fail,error,time,nopass -nr -w $dir/index-$1 $test &> $dir/$1.log ; if [[ 0 -ne $? ]] ; then echo -n "$1 " ; else rm -rf $dir/index-$1 $dir/$1.log ; fi ; } ; export -f runJtreg ; export dir="tmp-jtreg-"`basename ${test##* } .java | sed "s|#|_|"` ; rm -rf $dir ; mkdir -p $dir ; time seq 1000 | xargs -i -n 1 -P `nproc` bash -c "runJtreg {}" ; echo total fail number: `ls $dir/*.log 2> /dev/null | wc | awk '{print $1}'`

real    14m2.085s
user    401m12.984s
sys     30m57.914s
total fail number: 0
[dongzhichun@CompilerTest-aarch64-5 dragonwell17]$ java -version;java -Xinternalversion
openjdk version "17.0.12" 2024-07-16
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-17.0.11.0.12+9-GA (build 17.0.12+9)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-17.0.11.0.12+9-GA (build 17.0.12+9, mixed mode, sharing)
OpenJDK 64-Bit Server VM (17.0.12+9) for linux-aarch64 JRE (17.0.12+9), built on Jul 16 2024 00:00:00 by "dragonwell" with gcc 10.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants