Amarpreet Singh

Results 74 comments of Amarpreet Singh

> I was able to reproduce this with: openjdk version "17.0.9-internal" 2023-10-17 OpenJDK Runtime Environment (build 17.0.9-internal+0-adhoc.jenkins.BuildJDK17x86-64linuxNightly) Eclipse OpenJ9 VM (build master-b614f6cd7f7, JRE 17 Linux amd64-64-Bit Compressed References 20231103_611 (JIT...

> During Lucene builds we always use Hotspot VMs, but you can run the test suite with any other JVM. Just pass RUNTIME_JAVA_HOME when invoking Gradle. JAVA_HOME should be a...

@tajila what could be the next step(s) to find the root cause of the problem based on the analysis below? It seems like creating a micro test that reproduces the...

The intermittent assertion failure in [`testSegmentCountOnFlushRandom`](https://github.com/apache/lucene/blob/5e1e6c9e6818be115ff76010d5fc766758b21bbe/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterThreadsToSegments.java#L175) seems to have started after https://github.com/apache/lucene/commit/bae5b338ed93b352062e6feb8321945fbed11ca5 was added in the lucene repo, and a solution to fix the intermittent assertion failure is to make...

> I think the more serious issues here are the ones corrupting data while reading; there's no concurrency involved: https://github.com/eclipse-openj9/openj9/issues/18400#issuecomment-1820631659 I was able to reproduce the failure in `TestLucene90DocValuesFormat.testSortedVariableLengthBigVsStoredFields` in...

@tajila would it be appropriate to request the GC or JIT team to assist in finding the root cause of the failure in `TestLucene90DocValuesFormat.testSortedVariableLengthBigVsStoredFields`, which seems to be related to...

A workaround for the failure in `TestLucene90DocValuesFormat.testSortedVariableLengthBigVsStoredFields` is to use the default `-Xgcpolicy:gencon`.

@dmitripivkine requesting your feedback on this issue. This issue indicated two lucene test failures ([testSegmentCountOnFlushRandom](https://github.com/apache/lucene/blob/5d6086e1994d766a3dd39a47b14a8cd80a7280e6/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterThreadsToSegments.java#L175) and [testSortedVariableLengthBigVsStoredFields](https://github.com/apache/lucene/blob/5d6086e1994d766a3dd39a47b14a8cd80a7280e6/lucene/core/src/test/org/apache/lucene/codecs/lucene90/TestLucene90DocValuesFormat.java#L104)) with the cause that seemed specific to openj9: - The cause of the...

A [core file](https://drive.google.com/file/d/1ZWWgDRwa1XpD_sobpJe3f7hX64xhKd9x/view?usp=sharing) was generated with: ``` ./gradlew test --tests TestLucene90DocValuesFormat.testSortedVariableLengthBigVsStoredFields -Dtests.seed=4CB1759046D1E087 -Dtests.multiplier=3 -Dtests.locale=bo-IN -Dtests.timezone=Asia/Jerusalem -Dtests.asserts=true -Dtests.file.encoding=UTF-8 -Dtests.jvmargs="-XX:+UseCompressedOops -Xgcpolicy:balanced -Xdump:java+system:events=throw,filter=java/lang/RuntimeException" ``` ``` > !threads !stack 0x0001aa00 !j9vmthread 0x0001aa00 !j9thread 0x7f5600007660...

> @singh264 Let me know when you have tried a small example with these changes @tajila that's right, and I would like to provide an output of a small [example](https://github.com/eclipse-openj9/openj9/issues/19702#issue-2351791909)...