[lworld] Integrated: 8366841: [lworld] Objects.equals without identity comparison

2025-09-08 Thread Roger Riggs
On Sat, 6 Sep 2025 16:42:42 GMT, Roger Riggs wrote: > Modify java.util.Objects.equals to avoid acmp (==) when --enable-preview. > > There is a simple bug fix in the SimpleValueGraphs test. This pull request has now been integrated. Changeset: ba4e7678 Author:Roger Riggs URL: https:

Integrated: Merge lworld

2025-09-08 Thread Vicente Romero
Merge branch 'lworld' into lw5_merge_lworld # Conflicts: # src/jdk.compiler/share/classes/com/sun/tools/javac/code/Preview.java # src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java # src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java #

Re: [lworld] RFR: 8294051: [lworld] runtime/AccModule/ConstModule.java fails with incorrect error message [v2]

2025-09-08 Thread Coleen Phillimore
On Mon, 8 Sep 2025 16:12:44 GMT, Frederic Parain wrote: >> Coleen Phillimore has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Remove extra error message printing for inner classes not in mainline. > > src/hotspot/share/classfile/classFile

Re: [lworld] RFR: 8294051: [lworld] runtime/AccModule/ConstModule.java fails with incorrect error message [v2]

2025-09-08 Thread Frederic Parain
On Fri, 5 Sep 2025 19:51:00 GMT, Coleen Phillimore wrote: >> This change moves code back to match mainline that checks access flags and >> checks for invalid JVM_CONSTANTS_Module/Package before reading the class >> name out of the constant pool. >> Tested with tier1-3. > > Coleen Phillimore has

[lworld] Integrated: 8366705: [lworld] Re-work of arrays meta-data

2025-09-08 Thread Frederic Parain
On Fri, 9 May 2025 19:13:50 GMT, Frederic Parain wrote: > Since the removal of Q-types and the notion that nullability was not part of > the Java type, there was an awkward situation because nullable arrays of > value types and null free arrays of value types had each a different Java > mirror

Re: [lworld] RFR: 8366705: [lworld] Re-work of arrays meta-data [v7]

2025-09-08 Thread Frederic Parain
On Fri, 5 Sep 2025 19:05:08 GMT, Coleen Phillimore wrote: >> test/hotspot/jtreg/ProblemList.txt line 284: >> >>> 282: >>> 283: runtime/valhalla/inlinetypes/ValuePreloadTest.java 8366440 generic-all >>> 284: runtime/verifier/CFLH/TestVerify.java 8366440 generic-all >> >> These two have been fix

Re: [lworld] RFR: 8366705: [lworld] Re-work of arrays meta-data [v8]

2025-09-08 Thread Frederic Parain
On Fri, 5 Sep 2025 20:16:28 GMT, Frederic Parain wrote: >> Since the removal of Q-types and the notion that nullability was not part of >> the Java type, there was an awkward situation because nullable arrays of >> value types and null free arrays of value types had each a different Java >> mi

Re: [lworld] RFR: 8365978: [lworld] C2: assert(vk->maybe_flat_in_array()) when using compareAndSetFlatValue with -XX:-UseArrayFlattening [v3]

2025-09-08 Thread Tobias Hartmann
On Mon, 8 Sep 2025 07:17:11 GMT, Marc Chevalier wrote: >> `Unsafe::compareAndSetFlatValue` calls >> `Unsafe::compareAndSetFlatValueAsBytes` which then calls >> `Unsafe::putFlatValue` on a flat array created by `Unsafe::newSpecialArray`. >> >> https://github.com/openjdk/valhalla/blob/858be30119

[lworld] Integrated: 8365978: [lworld] C2: assert(vk->maybe_flat_in_array()) when using compareAndSetFlatValue with -XX:-UseArrayFlattening

2025-09-08 Thread Marc Chevalier
On Fri, 5 Sep 2025 11:42:42 GMT, Marc Chevalier wrote: > `Unsafe::compareAndSetFlatValue` calls > `Unsafe::compareAndSetFlatValueAsBytes` which then calls > `Unsafe::putFlatValue` on a flat array created by `Unsafe::newSpecialArray`. > > https://github.com/openjdk/valhalla/blob/858be30119bd5bc

Re: [lworld] RFR: 8365978: [lworld] C2: assert(vk->maybe_flat_in_array()) when using compareAndSetFlatValue with -XX:-UseArrayFlattening [v3]

2025-09-08 Thread duke
On Mon, 8 Sep 2025 07:17:11 GMT, Marc Chevalier wrote: >> `Unsafe::compareAndSetFlatValue` calls >> `Unsafe::compareAndSetFlatValueAsBytes` which then calls >> `Unsafe::putFlatValue` on a flat array created by `Unsafe::newSpecialArray`. >> >> https://github.com/openjdk/valhalla/blob/858be30119

Re: [lworld] RFR: 8365978: [lworld] C2: assert(vk->maybe_flat_in_array()) when using compareAndSetFlatValue with -XX:-UseArrayFlattening [v3]

2025-09-08 Thread Marc Chevalier
> `Unsafe::compareAndSetFlatValue` calls > `Unsafe::compareAndSetFlatValueAsBytes` which then calls > `Unsafe::putFlatValue` on a flat array created by `Unsafe::newSpecialArray`. > > https://github.com/openjdk/valhalla/blob/858be30119bd5bc37a69d16042523f53bea71a36/src/java.base/share/classes/jdk

Re: [lworld] RFR: 8365978: [lworld] C2: assert(vk->maybe_flat_in_array()) when using compareAndSetFlatValue with -XX:-UseArrayFlattening [v2]

2025-09-08 Thread Marc Chevalier
> `Unsafe::compareAndSetFlatValue` calls > `Unsafe::compareAndSetFlatValueAsBytes` which then calls > `Unsafe::putFlatValue` on a flat array created by `Unsafe::newSpecialArray`. > > https://github.com/openjdk/valhalla/blob/858be30119bd5bc37a69d16042523f53bea71a36/src/java.base/share/classes/jdk