Hi,

 

Those loops are fine, the problem is a bug in optimization of Hotspot, it is 
clearly a problem with JDK 17+ which is currently to be fixed. There is NOTHING 
to change in Lucene.

 

Uwe

 

-----

Uwe Schindler

Achterdiek 19, D-28357 Bremen

https://www.thetaphi.de

eMail: u...@thetaphi.de

 

From: Yuti G <gan.y...@gmail.com> 
Sent: Monday, May 16, 2022 6:48 PM
To: dev@lucene.apache.org
Subject: Re: [JENKINS] Lucene-main-Linux (64bit/jdk-17.0.2) - Build # 34604 - 
Failure!

 

Hi Uwe,

 

Thanks for sharing an example of the for loop in the facet code here.

 

I have been working on some facet code changes recently and have seen this kind 
of iterator-based loop several times. I can open a Jira issue and submit a PR 
to change these for loops in the facet module.

 

Best,

Yuting Gan

 

On Mon, May 16, 2022 at 2:09 AM Uwe Schindler <u...@thetaphi.de 
<mailto:u...@thetaphi.de> > wrote:

That’s again the same bug we have already seen in facet module:

https://bugs.openjdk.java.net/browse/JDK-8283386?focusedCommentId=14496153 
<https://bugs.openjdk.java.net/browse/JDK-8283386?focusedCommentId=14496153&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14496153>
 
&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14496153

 

It’s a bad one and already exists in JDK 17 GA.

Uwe

 

-----

Uwe Schindler

Achterdiek 19, D-28357 Bremen

https://www.thetaphi.de

eMail: u...@thetaphi.de <mailto:u...@thetaphi.de> 

 

From: Dawid Weiss <dawid.we...@gmail.com <mailto:dawid.we...@gmail.com> > 
Sent: Monday, May 16, 2022 8:19 AM
To: Lucene Dev <dev@lucene.apache.org <mailto:dev@lucene.apache.org> >
Cc: bui...@lucene.apache.org <mailto:bui...@lucene.apache.org> 
Subject: Re: [JENKINS] Lucene-main-Linux (64bit/jdk-17.0.2) - Build # 34604 - 
Failure!

 

 

JVM failure (on JDK 17.0.2!).

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fe6a986f711, pid=1132974, tid=1137900
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.2+8 (17.0.2+8) (build 
17.0.2+8)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (17.0.2+8, mixed mode, 
sharing, tiered, compressed class ptrs, parallel gc, linux-amd64)
# Problematic frame:
# V  [libjvm.so+0xad6711]  PhaseIdealLoop::build_loop_late_post_work(Node*, 
bool)+0x101
#
# No core dump will be written. Core dumps have been disabled. To enable core 
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# 
/home/jenkins/workspace/Lucene-main-Linux/lucene/codecs/build/tmp/tests-cwd/hs_err_pid1132974.log
#
# Compiler replay data is saved as:
# 
/home/jenkins/workspace/Lucene-main-Linux/lucene/codecs/build/tmp/tests-cwd/replay_pid1132974.log
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
#

 

 

On Mon, May 16, 2022 at 12:30 AM Policeman Jenkins Server <jenk...@thetaphi.de 
<mailto:jenk...@thetaphi.de> > wrote:

Build: https://jenkins.thetaphi.de/job/Lucene-main-Linux/34604/
Java: 64bit/jdk-17.0.2 -XX:-UseCompressedOops -XX:+UseParallelGC

All tests passed

---------------------------------------------------------------------
To unsubscribe, e-mail: builds-unsubscr...@lucene.apache.org 
<mailto:builds-unsubscr...@lucene.apache.org> 
For additional commands, e-mail: builds-h...@lucene.apache.org 
<mailto:builds-h...@lucene.apache.org> 

Reply via email to