From rkennke at openjdk.org Tue Sep 12 10:39:29 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 12 Sep 2023 10:39:29 GMT Subject: [lilliput-jdk21u:lilliput] Integrated: 8315047: [Lilliput/JDK21] Some additions to 8139457: Array bases are aligned at HeapWord granularity In-Reply-To: References: Message-ID: On Fri, 25 Aug 2023 18:17:03 GMT, Roman Kennke wrote: > The original cherry-pick for 8139457 missed a couple of new tests. Also, I'd also bring in some recent updates from the PR (in response to reviews). > > Testing: > - [x] tier1 -CCP > - [x] tier1 +CCP This pull request has now been integrated. Changeset: 51108cb8 Author: Roman Kennke URL: https://git.openjdk.org/lilliput-jdk21u/commit/51108cb80ec4e524e6550dd4b392a8a5c66bcfc5 Stats: 399 lines in 15 files changed: 349 ins; 33 del; 17 mod 8315047: [Lilliput/JDK21] Some additions to 8139457: Array bases are aligned at HeapWord granularity Reviewed-by: shade ------------- PR: https://git.openjdk.org/lilliput-jdk21u/pull/2 From rkennke at openjdk.org Tue Sep 12 10:47:17 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 12 Sep 2023 10:47:17 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8315046: [Lilliput/JDK21] Cherry-pick: 8305896: Alternative full GC forwarding [v2] In-Reply-To: References: Message-ID: > Let's cherry-pick the alternative full GC forwarding PR in its current state into Lilliput-21. > I needed to make some adjustments because PreservedMarks stuff has been refactored between 21 and 22. > > Testing: > - [ ] hotspot_gc +UseAltGCForwarding > - [ ] hotspot_gc -UseAltGCForwarding Roman Kennke has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: - Merge branch 'lilliput' into JDK-8315046 - 8315046: [Lilliput/JDK21] Cherry-pick: 8305896: Alternative full GC forwarding ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/3/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/3/files/fd29cbb7..7e4e993f Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=3&range=01 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=3&range=00-01 Stats: 399 lines in 15 files changed: 349 ins; 33 del; 17 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/3.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/3/head:pull/3 PR: https://git.openjdk.org/lilliput-jdk21u/pull/3 From shade at openjdk.org Tue Sep 12 10:52:29 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 12 Sep 2023 10:52:29 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8315046: [Lilliput/JDK21] Cherry-pick: 8305896: Alternative full GC forwarding [v2] In-Reply-To: References: Message-ID: On Tue, 12 Sep 2023 10:47:17 GMT, Roman Kennke wrote: >> Let's cherry-pick the alternative full GC forwarding PR in its current state into Lilliput-21. >> I needed to make some adjustments because PreservedMarks stuff has been refactored between 21 and 22. >> >> Testing: >> - [ ] hotspot_gc +UseAltGCForwarding >> - [ ] hotspot_gc -UseAltGCForwarding > > Roman Kennke has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision: > > - Merge branch 'lilliput' into JDK-8315046 > - 8315046: [Lilliput/JDK21] Cherry-pick: 8305896: Alternative full GC forwarding Marked as reviewed by shade (Reviewer). ------------- PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/3#pullrequestreview-1621959457 From rkennke at openjdk.org Tue Sep 12 10:59:11 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 12 Sep 2023 10:59:11 GMT Subject: [lilliput-jdk21u:lilliput] Integrated: 8315046: [Lilliput/JDK21] Cherry-pick: 8305896: Alternative full GC forwarding In-Reply-To: References: Message-ID: On Fri, 25 Aug 2023 18:34:54 GMT, Roman Kennke wrote: > Let's cherry-pick the alternative full GC forwarding PR in its current state into Lilliput-21. > I needed to make some adjustments because PreservedMarks stuff has been refactored between 21 and 22. > > Testing: > - [x] hotspot_gc +UseAltGCForwarding > - [x] hotspot_gc -UseAltGCForwarding This pull request has now been integrated. Changeset: 882ff141 Author: Roman Kennke URL: https://git.openjdk.org/lilliput-jdk21u/commit/882ff1417ac89181712aacc04d2ae734d435c27a Stats: 1196 lines in 39 files changed: 1077 ins; 10 del; 109 mod 8315046: [Lilliput/JDK21] Cherry-pick: 8305896: Alternative full GC forwarding Reviewed-by: shade ------------- PR: https://git.openjdk.org/lilliput-jdk21u/pull/3 From rkennke at openjdk.org Tue Sep 12 11:23:43 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 12 Sep 2023 11:23:43 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316108: [Lilliput/JDK21] Cherry-pick: 8305898: Alternative self-forwarding mechanism Message-ID: Let's cherry-pick the current state of the upstream PR https://github.com/openjdk/jdk/pull/13779. It applies cleanly on top of lilliput/jdk21u. Testing: - [ ] hotspot_gc (+UseAltGCForwarding) - [ ] hotspot_gc (-UseAltGCForwarding) ------------- Commit messages: - 8316108: [Lilliput/JDK21] Cherry-pick: 8305898: Alternative self-forwarding mechanism Changes: https://git.openjdk.org/lilliput-jdk21u/pull/4/files Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=4&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316108 Stats: 101 lines in 8 files changed: 85 ins; 2 del; 14 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/4.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/4/head:pull/4 PR: https://git.openjdk.org/lilliput-jdk21u/pull/4 From shade at openjdk.org Tue Sep 12 11:39:09 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 12 Sep 2023 11:39:09 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316108: [Lilliput/JDK21] Cherry-pick: 8305898: Alternative self-forwarding mechanism In-Reply-To: References: Message-ID: On Tue, 12 Sep 2023 11:15:28 GMT, Roman Kennke wrote: > Let's cherry-pick the current state of the upstream PR https://github.com/openjdk/jdk/pull/13779. It applies cleanly on top of lilliput/jdk21u. > > Testing: > - [ ] hotspot_gc (+UseAltGCForwarding) > - [ ] hotspot_gc (-UseAltGCForwarding) Looks okay. ------------- Marked as reviewed by shade (Reviewer). PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/4#pullrequestreview-1622037095 From rkennke at openjdk.org Tue Sep 12 14:56:30 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 12 Sep 2023 14:56:30 GMT Subject: [lilliput-jdk21u:lilliput] Integrated: 8316108: [Lilliput/JDK21] Cherry-pick: 8305898: Alternative self-forwarding mechanism In-Reply-To: References: Message-ID: On Tue, 12 Sep 2023 11:15:28 GMT, Roman Kennke wrote: > Let's cherry-pick the current state of the upstream PR https://github.com/openjdk/jdk/pull/13779. It applies cleanly on top of lilliput/jdk21u. > > Testing: > - [x] hotspot_gc (+UseAltGCForwarding) > - [x] hotspot_gc (-UseAltGCForwarding) This pull request has now been integrated. Changeset: b1494611 Author: Roman Kennke URL: https://git.openjdk.org/lilliput-jdk21u/commit/b14946110d59e128334778059ad83f48be958695 Stats: 101 lines in 8 files changed: 85 ins; 2 del; 14 mod 8316108: [Lilliput/JDK21] Cherry-pick: 8305898: Alternative self-forwarding mechanism Reviewed-by: shade ------------- PR: https://git.openjdk.org/lilliput-jdk21u/pull/4 From rkennke at openjdk.org Tue Sep 12 15:32:30 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 12 Sep 2023 15:32:30 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) Message-ID: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. Testing: - [ ] tier1 +UCOH - [ ] tier1 -UCOH ------------- Commit messages: - 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) Changes: https://git.openjdk.org/lilliput-jdk21u/pull/5/files Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316126 Stats: 1255 lines in 110 files changed: 935 ins; 115 del; 205 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/5.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/5/head:pull/5 PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From rkennke at openjdk.org Tue Sep 12 15:39:56 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 12 Sep 2023 15:39:56 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v2] In-Reply-To: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: > Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. > > Testing: > - [ ] tier1 +UCOH > - [ ] tier1 -UCOH Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: Add missing files ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/5/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/5/files/bfe4b5fc..7219d763 Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=01 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=00-01 Stats: 266 lines in 3 files changed: 266 ins; 0 del; 0 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/5.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/5/head:pull/5 PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From rkennke at openjdk.org Tue Sep 12 15:46:05 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 12 Sep 2023 15:46:05 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v3] In-Reply-To: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: > Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. > > Testing: > - [ ] tier1 +UCOH > - [ ] tier1 -UCOH Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: Remove misplaced assert ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/5/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/5/files/7219d763..1040e37a Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=02 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=01-02 Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/5.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/5/head:pull/5 PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From shade at openjdk.org Tue Sep 12 17:01:26 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 12 Sep 2023 17:01:26 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v3] In-Reply-To: References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: On Tue, 12 Sep 2023 15:46:05 GMT, Roman Kennke wrote: >> Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. >> >> Testing: >> - [ ] tier1 +UCOH >> - [ ] tier1 -UCOH > > Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: > > Remove misplaced assert I basically have an only question about `TypeOopPtr` constants. It does not seem to match lilliput-jdk17u. Also, we probably miss the `Problemlist-Lilliput` support. We can do it later. src/hotspot/share/opto/compile.cpp line 1353: > 1351: // range is OK as-is. > 1352: tj = ta = TypeAryPtr::RANGE; > 1353: } else if( offset == TypeOopPtr::klass_offset_in_bytes() ) { Here and everywhere. Not sure why this is here. Why not in `oopDesc::`? ------------- PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/5#pullrequestreview-1622716297 PR Review Comment: https://git.openjdk.org/lilliput-jdk21u/pull/5#discussion_r1323320150 From rkennke at openjdk.org Wed Sep 13 11:31:47 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Wed, 13 Sep 2023 11:31:47 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v3] In-Reply-To: References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: <6Ne9VGSPuAQyE435xzHAJuG8N6wNze_FJjxZuaodl3A=.7b87a34c-3100-4f80-9861-20bd8e725f79@github.com> On Tue, 12 Sep 2023 16:52:46 GMT, Aleksey Shipilev wrote: >> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: >> >> Remove misplaced assert > > src/hotspot/share/opto/compile.cpp line 1353: > >> 1351: // range is OK as-is. >> 1352: tj = ta = TypeAryPtr::RANGE; >> 1353: } else if( offset == TypeOopPtr::klass_offset_in_bytes() ) { > > Here and everywhere. Not sure why this is here. Why not in `oopDesc::`? The reason I did it this way is so that I can assert(!UCOH) in oopDesc::klass_offset_in_bytes(). The offset is used in C2 only as a sort of marker (to distinguish memory slice for the klass-word from other memory slices). It is not actually used as offset to load the Klass* - we load the whole mark-word and shift/mask/expand the Klass* from that, including the check for monitor. In the long run, as soon as the monitor-mapping in the header goes away, we could indeed use the oopDesc::klass_offset_in_bytes() everywhere - unless when we squeeze the narrowKlass in the header at a non-byte boundery, which is bound to happen once we go to 4-byte headers. ------------- PR Review Comment: https://git.openjdk.org/lilliput-jdk21u/pull/5#discussion_r1324367952 From rkennke at openjdk.org Wed Sep 13 11:31:41 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Wed, 13 Sep 2023 11:31:41 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v4] In-Reply-To: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: > Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. > > Testing: > - [ ] tier1 +UCOH > - [ ] tier1 -UCOH Roman Kennke has updated the pull request incrementally with two additional commits since the last revision: - Merge remote-tracking branch 'origin/JDK-8316126' into JDK-8316126 - Bunch of fixes ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/5/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/5/files/1040e37a..3fb73cf7 Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=03 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=02-03 Stats: 117 lines in 3 files changed: 1 ins; 113 del; 3 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/5.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/5/head:pull/5 PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From shade at openjdk.org Thu Sep 14 09:31:37 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Thu, 14 Sep 2023 09:31:37 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v3] In-Reply-To: <6Ne9VGSPuAQyE435xzHAJuG8N6wNze_FJjxZuaodl3A=.7b87a34c-3100-4f80-9861-20bd8e725f79@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> <6Ne9VGSPuAQyE435xzHAJuG8N6wNze_FJjxZuaodl3A=.7b87a34c-3100-4f80-9861-20bd8e725f79@github.com> Message-ID: On Wed, 13 Sep 2023 11:25:00 GMT, Roman Kennke wrote: >> src/hotspot/share/opto/compile.cpp line 1353: >> >>> 1351: // range is OK as-is. >>> 1352: tj = ta = TypeAryPtr::RANGE; >>> 1353: } else if( offset == TypeOopPtr::klass_offset_in_bytes() ) { >> >> Here and everywhere. Not sure why this is here. Why not in `oopDesc::`? > > The reason I did it this way is so that I can assert(!UCOH) in oopDesc::klass_offset_in_bytes(). The offset is used in C2 only as a sort of marker (to distinguish memory slice for the klass-word from other memory slices). It is not actually used as offset to load the Klass* - we load the whole mark-word and shift/mask/expand the Klass* from that, including the check for monitor. > In the long run, as soon as the monitor-mapping in the header goes away, we could indeed use the oopDesc::klass_offset_in_bytes() everywhere - unless when we squeeze the narrowKlass in the header at a non-byte boundery, which is bound to happen once we go to 4-byte headers. My concern is that it deviates from what we have in "mainline" version: https://builds.shipilev.net/patch-openjdk-lilliput/src/hotspot/share/opto/compile.cpp.sdiff.html -- which means we would always need to look for these discrepancies when backporting. How does `openjdk/lilliput` achieve this? ------------- PR Review Comment: https://git.openjdk.org/lilliput-jdk21u/pull/5#discussion_r1325666572 From rkennke at openjdk.org Thu Sep 14 09:38:07 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 14 Sep 2023 09:38:07 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v5] In-Reply-To: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: > Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. > > Testing: > - [ ] tier1 +UCOH > - [ ] tier1 -UCOH Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: Remove bad assert ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/5/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/5/files/3fb73cf7..93148bb0 Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=04 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=03-04 Stats: 2 lines in 2 files changed: 0 ins; 2 del; 0 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/5.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/5/head:pull/5 PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From rkennke at openjdk.org Thu Sep 14 09:40:11 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 14 Sep 2023 09:40:11 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v3] In-Reply-To: References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> <6Ne9VGSPuAQyE435xzHAJuG8N6wNze_FJjxZuaodl3A=.7b87a34c-3100-4f80-9861-20bd8e725f79@github.com> Message-ID: On Thu, 14 Sep 2023 09:28:00 GMT, Aleksey Shipilev wrote: > My concern is that it deviates from what we have in "mainline" version: https://builds.shipilev.net/patch-openjdk-lilliput/src/hotspot/share/opto/compile.cpp.sdiff.html -- which means we would always need to look for these discrepancies when backporting. > > How does `openjdk/lilliput` achieve this? It doesn't assert !UCOH in oopDesc::klass_offset_in_bytes(). Best approaches will be to either remove the assert and keep the 21 (and jdk upstream) stuff simpler, at the cost of loosing the assert, or bring over the C2 changes. ------------- PR Review Comment: https://git.openjdk.org/lilliput-jdk21u/pull/5#discussion_r1325681685 From shade at openjdk.org Thu Sep 14 09:44:04 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Thu, 14 Sep 2023 09:44:04 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v3] In-Reply-To: References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> <6Ne9VGSPuAQyE435xzHAJuG8N6wNze_FJjxZuaodl3A=.7b87a34c-3100-4f80-9861-20bd8e725f79@github.com> Message-ID: On Thu, 14 Sep 2023 09:37:30 GMT, Roman Kennke wrote: >> My concern is that it deviates from what we have in "mainline" version: https://builds.shipilev.net/patch-openjdk-lilliput/src/hotspot/share/opto/compile.cpp.sdiff.html -- which means we would always need to look for these discrepancies when backporting. >> >> How does `openjdk/lilliput` achieve this? > >> My concern is that it deviates from what we have in "mainline" version: https://builds.shipilev.net/patch-openjdk-lilliput/src/hotspot/share/opto/compile.cpp.sdiff.html -- which means we would always need to look for these discrepancies when backporting. >> >> How does `openjdk/lilliput` achieve this? > > It doesn't assert !UCOH in oopDesc::klass_offset_in_bytes(). Best approaches will be to either remove the assert and keep the 21 (and jdk upstream) stuff simpler, at the cost of loosing the assert, or bring over the C2 changes. Lilliput JDK 17 does not do this either, it seems: https://builds.shipilev.net/patch-openjdk-lilliput-jdk17/src/hotspot/share/opto/compile.cpp.sdiff.html So, I suggest we keep 21u close to both mainline and 17u by not asserting too, and using the usual `oopDesc::`? ------------- PR Review Comment: https://git.openjdk.org/lilliput-jdk21u/pull/5#discussion_r1325688104 From rkennke at openjdk.org Thu Sep 14 11:29:56 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 14 Sep 2023 11:29:56 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v6] In-Reply-To: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: > Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. > > Testing: > - [ ] tier1 +UCOH > - [ ] tier1 -UCOH Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: Revert C2 changes ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/5/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/5/files/93148bb0..f19ada4e Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=05 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=04-05 Stats: 62 lines in 16 files changed: 0 ins; 36 del; 26 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/5.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/5/head:pull/5 PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From rkennke at openjdk.org Thu Sep 14 11:56:13 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 14 Sep 2023 11:56:13 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v7] In-Reply-To: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: > Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. > > Testing: > - [ ] tier1 +UCOH > - [ ] tier1 -UCOH Roman Kennke has updated the pull request incrementally with two additional commits since the last revision: - Fix stuff - Revert "Remove bad assert" This reverts commit 93148bb034365bf91e3a9f7c4ffb81840e001b58. ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/5/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/5/files/f19ada4e..2b1acd34 Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=06 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=05-06 Stats: 9 lines in 4 files changed: 8 ins; 0 del; 1 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/5.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/5/head:pull/5 PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From shade at openjdk.org Thu Sep 14 13:07:11 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Thu, 14 Sep 2023 13:07:11 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v7] In-Reply-To: References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: <9ISWlJEZjCia_6xLdWz2BM-EVOeu_8qjBD6-MvWdKdM=.de4e6c70-7fa6-4de1-8a03-f366d7c0523f@github.com> On Thu, 14 Sep 2023 11:56:13 GMT, Roman Kennke wrote: >> Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. >> >> Testing: >> - [ ] tier1 +UCOH >> - [ ] tier1 -UCOH > > Roman Kennke has updated the pull request incrementally with two additional commits since the last revision: > > - Fix stuff > - Revert "Remove bad assert" > > This reverts commit 93148bb034365bf91e3a9f7c4ffb81840e001b58. I think this looks for integration. We would need to trawl the diff against 21u once everything is in lilliput-jdk21u. ------------- Marked as reviewed by shade (Reviewer). PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/5#pullrequestreview-1626840810 From rkennke at openjdk.org Thu Sep 14 15:51:55 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 14 Sep 2023 15:51:55 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) [v8] In-Reply-To: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: <7U19bfdBXdXcl3saDycwCChSsOl1hMlky0wQ0gI1lEo=.62eb5307-9f2e-4004-8f0b-dc29d2d285b8@github.com> > Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. > > Testing: > - [ ] tier1 +UCOH > - [ ] tier1 -UCOH Roman Kennke has updated the pull request incrementally with two additional commits since the last revision: - Merge remote-tracking branch 'origin/JDK-8316126' into JDK-8316126 - Fix 32-bit gtest failure ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/5/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/5/files/2b1acd34..2d8769e5 Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=07 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=5&range=06-07 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/5.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/5/head:pull/5 PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From rkennke at openjdk.org Thu Sep 14 19:27:16 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 14 Sep 2023 19:27:16 GMT Subject: [lilliput-jdk21u:lilliput] Integrated: 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) In-Reply-To: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> References: <5m6vCFnAHMn1Csly9Jk9JLvjWO5oJUbFzvkG_kGISCg=.0e4e72dc-2fa1-42bb-a480-bb4a853eb5c9@github.com> Message-ID: On Tue, 12 Sep 2023 15:25:39 GMT, Roman Kennke wrote: > Let's cherry-pick the current state of upstream https://github.com/openjdk/jdk/pull/13961 into Lilliput/JDK21u. > > Testing: > - [ ] tier1 +UCOH > - [ ] tier1 -UCOH This pull request has now been integrated. Changeset: 7f167ee2 Author: Roman Kennke URL: https://git.openjdk.org/lilliput-jdk21u/commit/7f167ee2d59b5d8877657fe2ebcc34f702aa62cc Stats: 1582 lines in 105 files changed: 1169 ins; 228 del; 185 mod 8316126: [Lilliput/JDK21] Cherry-pick: 8305895: Implementation: JEP 450: Compact Object Headers (Experimental) Reviewed-by: shade ------------- PR: https://git.openjdk.org/lilliput-jdk21u/pull/5 From rkennke at openjdk.org Fri Sep 15 14:34:06 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Fri, 15 Sep 2023 14:34:06 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316367: [Lilliput/JDK21] Provide infrastructure for Lilliput-specific ProblemList Message-ID: We should add the infrastructure for excluding the tests which are known to fail with Lilliput, to get clean test runs. Same as https://github.com/openjdk/lilliput/pull/100 but for Lilliput/21. ------------- Commit messages: - 8316367: [Lilliput/JDK21] Provide infrastructure for Lilliput-specific ProblemList Changes: https://git.openjdk.org/lilliput-jdk21u/pull/6/files Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=6&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316367 Stats: 33 lines in 2 files changed: 33 ins; 0 del; 0 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/6.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/6/head:pull/6 PR: https://git.openjdk.org/lilliput-jdk21u/pull/6 From shade at openjdk.org Fri Sep 15 14:36:11 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Fri, 15 Sep 2023 14:36:11 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316367: [Lilliput/JDK21] Provide infrastructure for Lilliput-specific ProblemList In-Reply-To: References: Message-ID: On Fri, 15 Sep 2023 14:26:30 GMT, Roman Kennke wrote: > We should add the infrastructure for excluding the tests which are known to fail with Lilliput, to get clean test runs. > Same as https://github.com/openjdk/lilliput/pull/100 but for Lilliput/21. Looks good! ------------- Marked as reviewed by shade (Reviewer). PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/6#pullrequestreview-1629094425 From rkennke at openjdk.org Fri Sep 15 14:49:11 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Fri, 15 Sep 2023 14:49:11 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316367: [Lilliput/JDK21] Provide infrastructure for Lilliput-specific ProblemList In-Reply-To: References: Message-ID: On Fri, 15 Sep 2023 14:26:30 GMT, Roman Kennke wrote: > We should add the infrastructure for excluding the tests which are known to fail with Lilliput, to get clean test runs. > Same as https://github.com/openjdk/lilliput/pull/100 but for Lilliput/21. Thanks! ------------- PR Comment: https://git.openjdk.org/lilliput-jdk21u/pull/6#issuecomment-1721398942 From rkennke at openjdk.org Fri Sep 15 14:49:11 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Fri, 15 Sep 2023 14:49:11 GMT Subject: [lilliput-jdk21u:lilliput] Integrated: 8316367: [Lilliput/JDK21] Provide infrastructure for Lilliput-specific ProblemList In-Reply-To: References: Message-ID: On Fri, 15 Sep 2023 14:26:30 GMT, Roman Kennke wrote: > We should add the infrastructure for excluding the tests which are known to fail with Lilliput, to get clean test runs. > Same as https://github.com/openjdk/lilliput/pull/100 but for Lilliput/21. This pull request has now been integrated. Changeset: 2d4b15bf Author: Roman Kennke URL: https://git.openjdk.org/lilliput-jdk21u/commit/2d4b15bf52dc8da19fd91a1a2acd29031ed8e4a3 Stats: 33 lines in 2 files changed: 33 ins; 0 del; 0 mod 8316367: [Lilliput/JDK21] Provide infrastructure for Lilliput-specific ProblemList Reviewed-by: shade ------------- PR: https://git.openjdk.org/lilliput-jdk21u/pull/6 From rkennke at openjdk.org Mon Sep 18 12:59:31 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Mon, 18 Sep 2023 12:59:31 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316424: [Lilliput/JDK21] ZGC/CDS-related test fixes Message-ID: A few tests with ZGC and CDS are failing. Reason is that we disable COH with single-gen-ZGC but not with gen-ZGC, and some tests dump with one and run with the other. This causes unexpected mismatches. Testing: - [x] runtime/cds/appcds/TestZGCWithCDS.java (default) - [x] runtime/cds/appcds/TestZGCWithCDS.java (+UCOH) - [x] runtime/cds/appcds/TestZGCWithCDS.java (-UCOH) - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (default) - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (+UCOH) - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (-UCOH) ------------- Commit messages: - 8316424: [Lilliput/JDK21] ZGC/CDS-related test fixes Changes: https://git.openjdk.org/lilliput-jdk21u/pull/7/files Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=7&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316424 Stats: 16 lines in 2 files changed: 15 ins; 0 del; 1 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/7.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/7/head:pull/7 PR: https://git.openjdk.org/lilliput-jdk21u/pull/7 From shade at openjdk.org Mon Sep 18 13:58:17 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Mon, 18 Sep 2023 13:58:17 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316424: [Lilliput/JDK21] ZGC/CDS-related test fixes In-Reply-To: References: Message-ID: On Mon, 18 Sep 2023 12:52:02 GMT, Roman Kennke wrote: > A few tests with ZGC and CDS are failing. Reason is that we disable COH with single-gen-ZGC but not with gen-ZGC, and some tests dump with one and run with the other. This causes unexpected mismatches. > > Testing: > - [x] runtime/cds/appcds/TestZGCWithCDS.java (default) > - [x] runtime/cds/appcds/TestZGCWithCDS.java (+UCOH) > - [x] runtime/cds/appcds/TestZGCWithCDS.java (-UCOH) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (default) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (+UCOH) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (-UCOH) Would it make more sense to sense `+UCOH` in `VMProps.java` and put appropriate `@requires` in `+ZGenerational` `@run` block? ------------- PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/7#pullrequestreview-1631127945 From rkennke at openjdk.org Mon Sep 18 15:05:17 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Mon, 18 Sep 2023 15:05:17 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316424: [Lilliput/JDK21] ZGC/CDS-related test fixes In-Reply-To: References: Message-ID: On Mon, 18 Sep 2023 13:54:59 GMT, Aleksey Shipilev wrote: > Would it make more sense to sense `+UCOH` in `VMProps.java` and put appropriate `@requires` in `+ZGenerational` `@run` block? No, I don't think so. The two affected tests spawn new JVMs and ignore the test options - at least sometimes (e.g. when dumping CDS). ------------- PR Comment: https://git.openjdk.org/lilliput-jdk21u/pull/7#issuecomment-1723627159 From shade at openjdk.org Mon Sep 18 15:33:12 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Mon, 18 Sep 2023 15:33:12 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316424: [Lilliput/JDK21] ZGC/CDS-related test fixes In-Reply-To: References: Message-ID: On Mon, 18 Sep 2023 12:52:02 GMT, Roman Kennke wrote: > A few tests with ZGC and CDS are failing. Reason is that we disable COH with single-gen-ZGC but not with gen-ZGC, and some tests dump with one and run with the other. This causes unexpected mismatches. > > Testing: > - [x] runtime/cds/appcds/TestZGCWithCDS.java (default) > - [x] runtime/cds/appcds/TestZGCWithCDS.java (+UCOH) > - [x] runtime/cds/appcds/TestZGCWithCDS.java (-UCOH) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (default) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (+UCOH) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (-UCOH) All right then. ------------- Marked as reviewed by shade (Reviewer). PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/7#pullrequestreview-1631359237 From rkennke at openjdk.org Mon Sep 18 18:09:06 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Mon, 18 Sep 2023 18:09:06 GMT Subject: [lilliput-jdk21u:lilliput] Integrated: 8316424: [Lilliput/JDK21] ZGC/CDS-related test fixes In-Reply-To: References: Message-ID: On Mon, 18 Sep 2023 12:52:02 GMT, Roman Kennke wrote: > A few tests with ZGC and CDS are failing. Reason is that we disable COH with single-gen-ZGC but not with gen-ZGC, and some tests dump with one and run with the other. This causes unexpected mismatches. > > Testing: > - [x] runtime/cds/appcds/TestZGCWithCDS.java (default) > - [x] runtime/cds/appcds/TestZGCWithCDS.java (+UCOH) > - [x] runtime/cds/appcds/TestZGCWithCDS.java (-UCOH) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (default) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (+UCOH) > - [x] runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java (-UCOH) This pull request has now been integrated. Changeset: 5504c7ae Author: Roman Kennke URL: https://git.openjdk.org/lilliput-jdk21u/commit/5504c7ae16ca77458785de8ec8851302707c2c37 Stats: 16 lines in 2 files changed: 15 ins; 0 del; 1 mod 8316424: [Lilliput/JDK21] ZGC/CDS-related test fixes Reviewed-by: shade ------------- PR: https://git.openjdk.org/lilliput-jdk21u/pull/7 From rkennke at openjdk.org Mon Sep 18 18:41:24 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Mon, 18 Sep 2023 18:41:24 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests Message-ID: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> Some tests in compiler/ciReplay seem to be sensitivs to setting of +/-UCOH when generating vs loading compiler replays. This only affects JIT diagnosis and can in practice likely be worked-around by using the correct combination of flags. Let's problem-list the tests for now. Tests: - [x] compiler/ciReplay +UCOH - [x] compiler/ciReplay -UCOH ------------- Commit messages: - 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests Changes: https://git.openjdk.org/lilliput-jdk21u/pull/8/files Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=8&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316442 Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/8.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/8/head:pull/8 PR: https://git.openjdk.org/lilliput-jdk21u/pull/8 From shade at openjdk.org Mon Sep 18 18:44:16 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Mon, 18 Sep 2023 18:44:16 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests In-Reply-To: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> References: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> Message-ID: <7GDuuYqWbeqf-lVydAv2tw5kGFAgR8kmAJwhvWKjG1U=.e818565a-8499-403a-b46d-8fd6518bc900@github.com> On Mon, 18 Sep 2023 18:34:10 GMT, Roman Kennke wrote: > Some tests in compiler/ciReplay seem to be sensitivs to setting of +/-UCOH when generating vs loading compiler replays. This only affects JIT diagnosis and can in practice likely be worked-around by using the correct combination of flags. Let's problem-list the tests for now. > > Tests: > - [x] compiler/ciReplay +UCOH > - [x] compiler/ciReplay -UCOH Indenting is a bit off, I would have expected bug IDs to stack nicely. But this is okay too. Is this a problem for mainline as well? ------------- Marked as reviewed by shade (Reviewer). PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/8#pullrequestreview-1631746623 PR Comment: https://git.openjdk.org/lilliput-jdk21u/pull/8#issuecomment-1724172783 From rkennke at openjdk.org Tue Sep 19 06:38:10 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Tue, 19 Sep 2023 06:38:10 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests In-Reply-To: <7GDuuYqWbeqf-lVydAv2tw5kGFAgR8kmAJwhvWKjG1U=.e818565a-8499-403a-b46d-8fd6518bc900@github.com> References: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> <7GDuuYqWbeqf-lVydAv2tw5kGFAgR8kmAJwhvWKjG1U=.e818565a-8499-403a-b46d-8fd6518bc900@github.com> Message-ID: On Mon, 18 Sep 2023 18:40:56 GMT, Aleksey Shipilev wrote: > Is this a problem for mainline as well? Looks like the problem exists in mainline as well. Not in Lilliput/JDK17, though - because the tests do not exist there. ------------- PR Comment: https://git.openjdk.org/lilliput-jdk21u/pull/8#issuecomment-1724908999 From rkennke at openjdk.org Thu Sep 21 10:45:42 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 21 Sep 2023 10:45:42 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests [v2] In-Reply-To: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> References: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> Message-ID: > Some tests in compiler/ciReplay seem to be sensitivs to setting of +/-UCOH when generating vs loading compiler replays. This only affects JIT diagnosis and can in practice likely be worked-around by using the correct combination of flags. Let's problem-list the tests for now. > > Tests: > - [x] compiler/ciReplay +UCOH > - [x] compiler/ciReplay -UCOH Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: Move gap init into allocate_header() (x86); Remove unnecessary code (aarch64) ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/8/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/8/files/5fda0a4c..d7fd3e8e Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=8&range=01 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=8&range=00-01 Stats: 30 lines in 2 files changed: 13 ins; 16 del; 1 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/8.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/8/head:pull/8 PR: https://git.openjdk.org/lilliput-jdk21u/pull/8 From rkennke at openjdk.org Thu Sep 21 14:40:18 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 21 Sep 2023 14:40:18 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests [v3] In-Reply-To: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> References: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> Message-ID: <12iYGGdNMG_7A_hktsqkUq6OAcdmaJOJaHZxwPvprwE=.ab085170-2de5-4e05-927d-e0617f92ba55@github.com> > Some tests in compiler/ciReplay seem to be sensitivs to setting of +/-UCOH when generating vs loading compiler replays. This only affects JIT diagnosis and can in practice likely be worked-around by using the correct combination of flags. Let's problem-list the tests for now. > > Tests: > - [x] compiler/ciReplay +UCOH > - [x] compiler/ciReplay -UCOH Roman Kennke has updated the pull request incrementally with one additional commit since the last revision: Cleanup and add asserts ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/8/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/8/files/d7fd3e8e..bebb01c5 Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=8&range=02 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=8&range=01-02 Stats: 11 lines in 2 files changed: 4 ins; 5 del; 2 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/8.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/8/head:pull/8 PR: https://git.openjdk.org/lilliput-jdk21u/pull/8 From rkennke at openjdk.org Thu Sep 21 17:53:27 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 21 Sep 2023 17:53:27 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316687: [Lilliput/JDK21] Various cleanups Message-ID: Review of upstream diff has revealed various minor issues. Let's fix them collectively. Testing: - [x] hotspot:tier1 +UCOH ------------- Commit messages: - Various cleanups - Cleanup and add asserts - Move gap init into allocate_header() (x86); Remove unnecessary code (aarch64) Changes: https://git.openjdk.org/lilliput-jdk21u/pull/9/files Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=9&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316687 Stats: 63 lines in 14 files changed: 22 ins; 29 del; 12 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/9.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/9/head:pull/9 PR: https://git.openjdk.org/lilliput-jdk21u/pull/9 From shade at openjdk.org Thu Sep 21 18:14:00 2023 From: shade at openjdk.org (Aleksey Shipilev) Date: Thu, 21 Sep 2023 18:14:00 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316687: [Lilliput/JDK21] Various cleanups In-Reply-To: References: Message-ID: On Thu, 21 Sep 2023 17:46:29 GMT, Roman Kennke wrote: > Review of upstream diff has revealed various minor issues. Let's fix them collectively. > > Testing: > - [x] hotspot:tier1 +UCOH Looks okay. ------------- Marked as reviewed by shade (Reviewer). PR Review: https://git.openjdk.org/lilliput-jdk21u/pull/9#pullrequestreview-1638422211 From rkennke at openjdk.org Thu Sep 21 18:18:22 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 21 Sep 2023 18:18:22 GMT Subject: [lilliput-jdk21u:lilliput] RFR: 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests [v4] In-Reply-To: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> References: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> Message-ID: > Some tests in compiler/ciReplay seem to be sensitivs to setting of +/-UCOH when generating vs loading compiler replays. This only affects JIT diagnosis and can in practice likely be worked-around by using the correct combination of flags. Let's problem-list the tests for now. > > Tests: > - [x] compiler/ciReplay +UCOH > - [x] compiler/ciReplay -UCOH Roman Kennke has refreshed the contents of this pull request, and previous commits have been removed. Incremental views are not available. The pull request now contains one commit: 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests ------------- Changes: - all: https://git.openjdk.org/lilliput-jdk21u/pull/8/files - new: https://git.openjdk.org/lilliput-jdk21u/pull/8/files/bebb01c5..5fda0a4c Webrevs: - full: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=8&range=03 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=8&range=02-03 Stats: 41 lines in 4 files changed: 21 ins; 17 del; 3 mod Patch: https://git.openjdk.org/lilliput-jdk21u/pull/8.diff Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/8/head:pull/8 PR: https://git.openjdk.org/lilliput-jdk21u/pull/8 From rkennke at openjdk.org Thu Sep 21 18:53:24 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 21 Sep 2023 18:53:24 GMT Subject: [lilliput-jdk21u:lilliput] Integrated: 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests In-Reply-To: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> References: <_YzZEXoAhVhs2gtshc0Gje_cd5ThCpIJgG58adFk34w=.cc2cf637-6dab-41b0-8f2a-91506712cccc@github.com> Message-ID: On Mon, 18 Sep 2023 18:34:10 GMT, Roman Kennke wrote: > Some tests in compiler/ciReplay seem to be sensitivs to setting of +/-UCOH when generating vs loading compiler replays. This only affects JIT diagnosis and can in practice likely be worked-around by using the correct combination of flags. Let's problem-list the tests for now. > > Tests: > - [x] compiler/ciReplay +UCOH > - [x] compiler/ciReplay -UCOH This pull request has now been integrated. Changeset: 3816aeef Author: Roman Kennke URL: https://git.openjdk.org/lilliput-jdk21u/commit/3816aeef3456db32de1116c511fd3b15040d7ed4 Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 mod 8316442: [Lilliput/JDK21] Problem-list compiler/ciReplay tests Reviewed-by: shade ------------- PR: https://git.openjdk.org/lilliput-jdk21u/pull/8 From rkennke at openjdk.org Thu Sep 21 19:17:00 2023 From: rkennke at openjdk.org (Roman Kennke) Date: Thu, 21 Sep 2023 19:17:00 GMT Subject: [lilliput-jdk21u:lilliput] Integrated: 8316687: [Lilliput/JDK21] Various cleanups In-Reply-To: References: Message-ID: On Thu, 21 Sep 2023 17:46:29 GMT, Roman Kennke wrote: > Review of upstream diff has revealed various minor issues. Let's fix them collectively. > > Testing: > - [x] hotspot:tier1 +UCOH This pull request has now been integrated. Changeset: 852ea4bd Author: Roman Kennke URL: https://git.openjdk.org/lilliput-jdk21u/commit/852ea4bdf8add7e87cf7bd5145da8420932bb342 Stats: 63 lines in 14 files changed: 22 ins; 29 del; 12 mod 8316687: [Lilliput/JDK21] Various cleanups Reviewed-by: shade ------------- PR: https://git.openjdk.org/lilliput-jdk21u/pull/9