Skip to content

Commit

Permalink
[Misc] Fix CodecacheMemoryCheck.sh fails with -Xcomp -XX:-TieredCompi…
Browse files Browse the repository at this point in the history
…lation by fastdebug build

Summary: Fix compiler/codecache/stress/CodecacheMemoryCheck.sh fails with -Xcomp -XX:-TieredCompilation by fastdebug build

Testing: CI pipeline

Reviewers: Accelerator1996, ziyilin

Issue: dragonwell-project#906
  • Loading branch information
sendaoYan committed Dec 24, 2024
1 parent 6c13dc0 commit 25c1a45
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ useJcmdPrintMemoryUsage()
while ! grep -q "For random generator using seed" ${javaLog}
do
sleep 0.1 #wait util java main function start finish
if [[ $i -ge 100 ]] ; then
if [[ $i -ge 200 ]] ; then
cat ${javaLog}
echo "The tested java seems work abnormally!"
exit 1
fi
Expand Down Expand Up @@ -134,7 +135,8 @@ getMemoryUsageFromProc()
while ! grep -q "For random generator using seed" ${javaLog}
do
sleep 0.1 #wait util java main function start finish
if [[ $i -ge 100 ]] ; then
if [[ $i -ge 200 ]] ; then
cat ${javaLog}
echo "The tested java seems work abnormally!"
exit 1
fi
Expand Down

0 comments on commit 25c1a45

Please sign in to comment.