From robilad at openjdk.org Fri Feb 2 12:49:15 2024 From: robilad at openjdk.org (Dalibor Topic) Date: Fri, 2 Feb 2024 12:49:15 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v7] In-Reply-To: References: Message-ID: On Wed, 19 Oct 2022 14:43:38 GMT, Ivan Ponomarev wrote: >> This moves https://github.com/atp-mipt/ljv project inside JOL in order for LJV to get access to internal JOL's APIs. >> >> See blogposts about LJV [in Russian](https://habr.com/ru/post/599045/) / [in English](https://dzone.com/articles/what-can-we-learn-from-java-data-structures-visual). > > Ivan Ponomarev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 100 commits: > > - Merge remote-tracking branch 'upstream/master' > - fix review comments > - Merge pull request #7 from atp-mipt/jchekProblems > > jcheck Whitespace error fix > - jcheck Whitespace error fix > - leftover comments + braces (#6) > > * leftover comments + braces > > * remove leftover pom.xml > > * remove extra copyright comments > > Co-authored-by: Ivan Ponomarev > - minor changes (#5) > > * HashCodeCollision reimplementation > * JDK headers fix > * LJV Github actions removed > * other code review fixes > > Co-authored-by: Ivan Ponomarev > - update copyright notice, lint > - code cleanup > - Move ljv inside jol (#2) > > * sub module ljv in jol-core > > * LJV 1.7 JDK version > > Co-authored-by: Victor Petrosyan > - Merge remote-tracking branch 'upstream/master' > - ... and 90 more: https://git.openjdk.org/jol/compare/482c0ee8...043009e8 I can confirm that the individuals listed as contributors have an OCA on file. ------------- PR Comment: https://git.openjdk.org/jol/pull/24#issuecomment-1923735289 From duke at openjdk.org Fri Feb 2 13:46:26 2024 From: duke at openjdk.org (Ivan Ponomarev) Date: Fri, 2 Feb 2024 13:46:26 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v8] In-Reply-To: References: Message-ID: > This moves https://github.com/atp-mipt/ljv project inside JOL in order for LJV to get access to internal JOL's APIs. > > See blogposts about LJV [in Russian](https://habr.com/ru/post/599045/) / [in English](https://dzone.com/articles/what-can-we-learn-from-java-data-structures-visual). Ivan Ponomarev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 101 commits: - Merge remote-tracking branch 'upstream/master' - Merge remote-tracking branch 'upstream/master' - fix review comments - Merge pull request #7 from atp-mipt/jchekProblems jcheck Whitespace error fix - jcheck Whitespace error fix - leftover comments + braces (#6) * leftover comments + braces * remove leftover pom.xml * remove extra copyright comments Co-authored-by: Ivan Ponomarev - minor changes (#5) * HashCodeCollision reimplementation * JDK headers fix * LJV Github actions removed * other code review fixes Co-authored-by: Ivan Ponomarev - update copyright notice, lint - code cleanup - Move ljv inside jol (#2) * sub module ljv in jol-core * LJV 1.7 JDK version Co-authored-by: Victor Petrosyan - ... and 91 more: https://git.openjdk.org/jol/compare/2992aa42...782fc818 ------------- Changes: https://git.openjdk.org/jol/pull/24/files Webrev: https://webrevs.openjdk.org/?repo=jol&pr=24&range=07 Stats: 4177 lines in 59 files changed: 4176 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jol/pull/24.diff Fetch: git fetch https://git.openjdk.org/jol.git pull/24/head:pull/24 PR: https://git.openjdk.org/jol/pull/24 From duke at openjdk.org Fri Feb 2 14:08:17 2024 From: duke at openjdk.org (Ivan Ponomarev) Date: Fri, 2 Feb 2024 14:08:17 GMT Subject: Integrated: CODETOOLS-7903176: Move LJV inside JOL In-Reply-To: References: Message-ID: On Tue, 3 May 2022 08:47:17 GMT, Ivan Ponomarev wrote: > This moves https://github.com/atp-mipt/ljv project inside JOL in order for LJV to get access to internal JOL's APIs. > > See blogposts about LJV [in Russian](https://habr.com/ru/post/599045/) / [in English](https://dzone.com/articles/what-can-we-learn-from-java-data-structures-visual). This pull request has now been integrated. Changeset: c93c191a Author: Ivan Ponomarev Committer: Aleksey Shipilev URL: https://git.openjdk.org/jol/commit/c93c191a056db8710f7505e3a2c6570539c60c6c Stats: 4177 lines in 59 files changed: 4176 ins; 0 del; 1 mod 7903176: Move LJV inside JOL Co-authored-by: Ivan Arkhipov Co-authored-by: John Hamer Co-authored-by: Ilya Selivanau Co-authored-by: Victor Petrosyan Co-authored-by: Georgy Guminov Co-authored-by: Ilya Shvetsov Co-authored-by: Nuras Nogaev Reviewed-by: shade ------------- PR: https://git.openjdk.org/jol/pull/24 From duke at openjdk.org Tue Feb 6 08:55:14 2024 From: duke at openjdk.org (Ivan Ponomarev) Date: Tue, 6 Feb 2024 08:55:14 GMT Subject: RFR: Fix empty arrays visualization Message-ID: <2RS1UPs2ag0pyjWEiRzUP5F1rodar0NW5g1CK-wBv60=.9c37bf18-c5ee-4af5-b69b-6ca46db72b0c@github.com> Currently, visualization of an empty array produces invalid DOT (see https://github.com/atp-mipt/ljv/issues/28) The solution proposed is as discussed in that issue in 2021 (we now show array component type as well, also treating primitive types and "multidimensional" arrays correctly, that is `int[]`, `int[][]` etc). This PR also changes the expected version of Java for LJV approval tests from 11 to 8 in order to simplify development of LJV as a part of JOL. ------------- Commit messages: - fix empty arrays Visualization. Show array component type Changes: https://git.openjdk.org/jol/pull/57/files Webrev: https://webrevs.openjdk.org/?repo=jol&pr=57&range=00 Stats: 196 lines in 25 files changed: 72 ins; 34 del; 90 mod Patch: https://git.openjdk.org/jol/pull/57.diff Fetch: git fetch https://git.openjdk.org/jol.git pull/57/head:pull/57 PR: https://git.openjdk.org/jol/pull/57 From shade at openjdk.org Tue Feb 6 09:48:08 2024 From: shade at openjdk.org (Aleksey Shipilev) Date: Tue, 6 Feb 2024 09:48:08 GMT Subject: RFR: 7903652: JOL: Fix empty arrays visualization in LJV In-Reply-To: <2RS1UPs2ag0pyjWEiRzUP5F1rodar0NW5g1CK-wBv60=.9c37bf18-c5ee-4af5-b69b-6ca46db72b0c@github.com> References: <2RS1UPs2ag0pyjWEiRzUP5F1rodar0NW5g1CK-wBv60=.9c37bf18-c5ee-4af5-b69b-6ca46db72b0c@github.com> Message-ID: On Tue, 6 Feb 2024 08:51:38 GMT, Ivan Ponomarev wrote: > This PR also changes the expected version of Java for LJV approval tests from 11 to 8 in order to simplify development of LJV as a part of JOL. Is there a pressing need to do it here? For example, does it make testing for this bugfix easier? If not, I would suggest we do it separately. ------------- Marked as reviewed by shade (Committer). PR Review: https://git.openjdk.org/jol/pull/57#pullrequestreview-1864699164 From duke at openjdk.org Tue Feb 6 23:32:02 2024 From: duke at openjdk.org (Ivan Ponomarev) Date: Tue, 6 Feb 2024 23:32:02 GMT Subject: RFR: 7903652: JOL: Fix empty arrays visualization in LJV In-Reply-To: References: <2RS1UPs2ag0pyjWEiRzUP5F1rodar0NW5g1CK-wBv60=.9c37bf18-c5ee-4af5-b69b-6ca46db72b0c@github.com> Message-ID: On Tue, 6 Feb 2024 09:45:32 GMT, Aleksey Shipilev wrote: > Is there a pressing need to do it here? For example, does it make testing for this bugfix easier? If not, I would suggest we do it separately. It's not that the reason is very pressing, but yes, running tests from IDE is not possible as target version for JOL is 1.8, while for LJV we used 11. Thus when you set JDK1.8 in IDEA all the tests targeted for 11 are ignored, and when you set JDK11, it won't compile as `sun.misc.Unsafe does not exist`. I fully agree with the point that it's not good to bring two things in one pull request. But on the other hand, all the `*.approved.txt` files were going to be changed anyway, as we change arrays visualization. So it's either two PRs one after another, or merge conflicts. And on top of it I am still kinda scared by the PR handling throughput rate of this project, that's why I decided to make one PR instead of two. So if you insist, I can split it into two PRs. If not really, let's just merge for now, and I will be sending more fine-grained PRs in the future ------------- PR Comment: https://git.openjdk.org/jol/pull/57#issuecomment-1930942587 From shade at openjdk.org Wed Feb 7 08:17:06 2024 From: shade at openjdk.org (Aleksey Shipilev) Date: Wed, 7 Feb 2024 08:17:06 GMT Subject: RFR: 7903652: JOL: Fix empty arrays visualization in LJV In-Reply-To: <2RS1UPs2ag0pyjWEiRzUP5F1rodar0NW5g1CK-wBv60=.9c37bf18-c5ee-4af5-b69b-6ca46db72b0c@github.com> References: <2RS1UPs2ag0pyjWEiRzUP5F1rodar0NW5g1CK-wBv60=.9c37bf18-c5ee-4af5-b69b-6ca46db72b0c@github.com> Message-ID: On Tue, 6 Feb 2024 08:51:38 GMT, Ivan Ponomarev wrote: > Currently, visualization of an empty array produces invalid DOT (see https://github.com/atp-mipt/ljv/issues/28) > > The solution proposed is as discussed in that issue in 2021 (we now show array component type as well, also treating primitive types and "multidimensional" arrays correctly, that is `int[]`, `int[][]` etc). > > This PR also changes the expected version of Java for LJV approval tests from 11 to 8 in order to simplify development of LJV as a part of JOL. All right, no need to split, integrate as is. ------------- PR Comment: https://git.openjdk.org/jol/pull/57#issuecomment-1931497525 From duke at openjdk.org Wed Feb 7 10:57:09 2024 From: duke at openjdk.org (Ivan Ponomarev) Date: Wed, 7 Feb 2024 10:57:09 GMT Subject: Integrated: 7903652: JOL: Fix empty arrays visualization in LJV In-Reply-To: <2RS1UPs2ag0pyjWEiRzUP5F1rodar0NW5g1CK-wBv60=.9c37bf18-c5ee-4af5-b69b-6ca46db72b0c@github.com> References: <2RS1UPs2ag0pyjWEiRzUP5F1rodar0NW5g1CK-wBv60=.9c37bf18-c5ee-4af5-b69b-6ca46db72b0c@github.com> Message-ID: On Tue, 6 Feb 2024 08:51:38 GMT, Ivan Ponomarev wrote: > Currently, visualization of an empty array produces invalid DOT (see https://github.com/atp-mipt/ljv/issues/28) > > The solution proposed is as discussed in that issue in 2021 (we now show array component type as well, also treating primitive types and "multidimensional" arrays correctly, that is `int[]`, `int[][]` etc). > > This PR also changes the expected version of Java for LJV approval tests from 11 to 8 in order to simplify development of LJV as a part of JOL. This pull request has now been integrated. Changeset: faefa00a Author: Ivan Ponomarev Committer: Aleksey Shipilev URL: https://git.openjdk.org/jol/commit/faefa00ad094205e83fbbd97a300e93766627059 Stats: 196 lines in 25 files changed: 72 ins; 34 del; 90 mod 7903652: JOL: Fix empty arrays visualization in LJV Reviewed-by: shade ------------- PR: https://git.openjdk.org/jol/pull/57 From robilad at openjdk.org Thu Feb 8 22:03:07 2024 From: robilad at openjdk.org (Dalibor Topic) Date: Thu, 8 Feb 2024 22:03:07 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v8] In-Reply-To: References: Message-ID: On Fri, 2 Feb 2024 13:46:26 GMT, Ivan Ponomarev wrote: >> This moves https://github.com/atp-mipt/ljv project inside JOL in order for LJV to get access to internal JOL's APIs. >> >> See blogposts about LJV [in Russian](https://habr.com/ru/post/599045/) / [in English](https://dzone.com/articles/what-can-we-learn-from-java-data-structures-visual). > > Ivan Ponomarev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 101 commits: > > - Merge remote-tracking branch 'upstream/master' > - Merge remote-tracking branch 'upstream/master' > - fix review comments > - Merge pull request #7 from atp-mipt/jchekProblems > > jcheck Whitespace error fix > - jcheck Whitespace error fix > - leftover comments + braces (#6) > > * leftover comments + braces > > * remove leftover pom.xml > > * remove extra copyright comments > > Co-authored-by: Ivan Ponomarev > - minor changes (#5) > > * HashCodeCollision reimplementation > * JDK headers fix > * LJV Github actions removed > * other code review fixes > > Co-authored-by: Ivan Ponomarev > - update copyright notice, lint > - code cleanup > - Move ljv inside jol (#2) > > * sub module ljv in jol-core > > * LJV 1.7 JDK version > > Co-authored-by: Victor Petrosyan > - ... and 91 more: https://git.openjdk.org/jol/compare/2992aa42...782fc818 Please also have each contributor listed in the change confirm in the PR comments that they would like to make this contribution, as this contribution has not been developed within this project. ------------- PR Comment: https://git.openjdk.org/jol/pull/24#issuecomment-1935001243 From duke at openjdk.org Sat Feb 10 19:13:08 2024 From: duke at openjdk.org (Ivan Arkhipov) Date: Sat, 10 Feb 2024 19:13:08 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v8] In-Reply-To: References: Message-ID: On Fri, 2 Feb 2024 13:46:26 GMT, Ivan Ponomarev wrote: >> This moves https://github.com/atp-mipt/ljv project inside JOL in order for LJV to get access to internal JOL's APIs. >> >> See blogposts about LJV [in Russian](https://habr.com/ru/post/599045/) / [in English](https://dzone.com/articles/what-can-we-learn-from-java-data-structures-visual). > > Ivan Ponomarev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 101 commits: > > - Merge remote-tracking branch 'upstream/master' > - Merge remote-tracking branch 'upstream/master' > - fix review comments > - Merge pull request #7 from atp-mipt/jchekProblems > > jcheck Whitespace error fix > - jcheck Whitespace error fix > - leftover comments + braces (#6) > > * leftover comments + braces > > * remove leftover pom.xml > > * remove extra copyright comments > > Co-authored-by: Ivan Ponomarev > - minor changes (#5) > > * HashCodeCollision reimplementation > * JDK headers fix > * LJV Github actions removed > * other code review fixes > > Co-authored-by: Ivan Ponomarev > - update copyright notice, lint > - code cleanup > - Move ljv inside jol (#2) > > * sub module ljv in jol-core > > * LJV 1.7 JDK version > > Co-authored-by: Victor Petrosyan > - ... and 91 more: https://git.openjdk.org/jol/compare/2992aa42...782fc818 I confirm that I'll be glad to make this contribution within JOL project. ------------- PR Comment: https://git.openjdk.org/jol/pull/24#issuecomment-1937098775 From duke at openjdk.org Sat Feb 10 20:38:07 2024 From: duke at openjdk.org (Victor) Date: Sat, 10 Feb 2024 20:38:07 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v8] In-Reply-To: References: Message-ID: On Thu, 8 Feb 2024 22:00:43 GMT, Dalibor Topic wrote: >> Ivan Ponomarev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 101 commits: >> >> - Merge remote-tracking branch 'upstream/master' >> - Merge remote-tracking branch 'upstream/master' >> - fix review comments >> - Merge pull request #7 from atp-mipt/jchekProblems >> >> jcheck Whitespace error fix >> - jcheck Whitespace error fix >> - leftover comments + braces (#6) >> >> * leftover comments + braces >> >> * remove leftover pom.xml >> >> * remove extra copyright comments >> >> Co-authored-by: Ivan Ponomarev >> - minor changes (#5) >> >> * HashCodeCollision reimplementation >> * JDK headers fix >> * LJV Github actions removed >> * other code review fixes >> >> Co-authored-by: Ivan Ponomarev >> - update copyright notice, lint >> - code cleanup >> - Move ljv inside jol (#2) >> >> * sub module ljv in jol-core >> >> * LJV 1.7 JDK version >> >> Co-authored-by: Victor Petrosyan >> - ... and 91 more: https://git.openjdk.org/jol/compare/2992aa42...782fc818 > > Please also have each contributor listed in the change confirm in the PR comments that they would like to make this contribution, as this contribution has not been developed within this project. Hello @robilad , as a contributor to LJV, I confirm that we wanted to merge it with OpenJDK/JOL ------------- PR Comment: https://git.openjdk.org/jol/pull/24#issuecomment-1937114770 From duke at openjdk.org Sun Feb 11 03:41:07 2024 From: duke at openjdk.org (Nuras Nogayev) Date: Sun, 11 Feb 2024 03:41:07 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v8] In-Reply-To: References: Message-ID: On Fri, 2 Feb 2024 13:46:26 GMT, Ivan Ponomarev wrote: >> This moves https://github.com/atp-mipt/ljv project inside JOL in order for LJV to get access to internal JOL's APIs. >> >> See blogposts about LJV [in Russian](https://habr.com/ru/post/599045/) / [in English](https://dzone.com/articles/what-can-we-learn-from-java-data-structures-visual). > > Ivan Ponomarev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 101 commits: > > - Merge remote-tracking branch 'upstream/master' > - Merge remote-tracking branch 'upstream/master' > - fix review comments > - Merge pull request #7 from atp-mipt/jchekProblems > > jcheck Whitespace error fix > - jcheck Whitespace error fix > - leftover comments + braces (#6) > > * leftover comments + braces > > * remove leftover pom.xml > > * remove extra copyright comments > > Co-authored-by: Ivan Ponomarev > - minor changes (#5) > > * HashCodeCollision reimplementation > * JDK headers fix > * LJV Github actions removed > * other code review fixes > > Co-authored-by: Ivan Ponomarev > - update copyright notice, lint > - code cleanup > - Move ljv inside jol (#2) > > * sub module ljv in jol-core > > * LJV 1.7 JDK version > > Co-authored-by: Victor Petrosyan > - ... and 91 more: https://git.openjdk.org/jol/compare/2992aa42...782fc818 I confirm that I would like to make this contribution ------------- PR Comment: https://git.openjdk.org/jol/pull/24#issuecomment-1937411211 From duke at openjdk.org Sun Feb 11 07:13:08 2024 From: duke at openjdk.org (Ilya Shvetsov) Date: Sun, 11 Feb 2024 07:13:08 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v8] In-Reply-To: References: Message-ID: On Fri, 2 Feb 2024 13:46:26 GMT, Ivan Ponomarev wrote: >> This moves https://github.com/atp-mipt/ljv project inside JOL in order for LJV to get access to internal JOL's APIs. >> >> See blogposts about LJV [in Russian](https://habr.com/ru/post/599045/) / [in English](https://dzone.com/articles/what-can-we-learn-from-java-data-structures-visual). > > Ivan Ponomarev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 101 commits: > > - Merge remote-tracking branch 'upstream/master' > - Merge remote-tracking branch 'upstream/master' > - fix review comments > - Merge pull request #7 from atp-mipt/jchekProblems > > jcheck Whitespace error fix > - jcheck Whitespace error fix > - leftover comments + braces (#6) > > * leftover comments + braces > > * remove leftover pom.xml > > * remove extra copyright comments > > Co-authored-by: Ivan Ponomarev > - minor changes (#5) > > * HashCodeCollision reimplementation > * JDK headers fix > * LJV Github actions removed > * other code review fixes > > Co-authored-by: Ivan Ponomarev > - update copyright notice, lint > - code cleanup > - Move ljv inside jol (#2) > > * sub module ljv in jol-core > > * LJV 1.7 JDK version > > Co-authored-by: Victor Petrosyan > - ... and 91 more: https://git.openjdk.org/jol/compare/2992aa42...782fc818 Hello! I confirm that I want this to be merged with OpenJDK/JOL ------------- PR Comment: https://git.openjdk.org/jol/pull/24#issuecomment-1937455933 From duke at openjdk.org Sun Feb 11 12:38:08 2024 From: duke at openjdk.org (Georgy Guminov) Date: Sun, 11 Feb 2024 12:38:08 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v8] In-Reply-To: References: Message-ID: On Thu, 8 Feb 2024 22:00:43 GMT, Dalibor Topic wrote: > Please also have each contributor listed in the change confirm in the PR comments that they would like to make this contribution, as this contribution has not been developed within this project. I confirm that I want this contribution to be made within JOL project. ------------- PR Comment: https://git.openjdk.org/jol/pull/24#issuecomment-1937694078 From duke at openjdk.org Mon Feb 12 16:16:11 2024 From: duke at openjdk.org (Ilya Selivanau) Date: Mon, 12 Feb 2024 16:16:11 GMT Subject: RFR: CODETOOLS-7903176: Move LJV inside JOL [v8] In-Reply-To: References: Message-ID: On Sun, 11 Feb 2024 12:35:37 GMT, Georgy Guminov wrote: > Please also have each contributor listed in the change confirm in the PR comments that they would like to make this contribution, as this contribution has not been developed within this project. I confirm that I would like to make this contribution ------------- PR Comment: https://git.openjdk.org/jol/pull/24#issuecomment-1939028889