Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v13]

2025-07-21 Thread Alan Bateman
On Mon, 21 Jul 2025 12:03:11 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v12]

2025-07-21 Thread David Beaumont
On Fri, 18 Jul 2025 16:01:32 GMT, Roger Riggs wrote: >> David Beaumont has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains one commit: >> >> Resync after benchmark. > > src/java.base/share/classes/jdk/internal/jimage/ImageReader.jav

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v13]

2025-07-21 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v12]

2025-07-21 Thread David Beaumont
On Fri, 18 Jul 2025 16:43:30 GMT, Roger Riggs wrote: >> David Beaumont has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains one commit: >> >> Resync after benchmark. > > src/java.base/share/classes/jdk/internal/jimage/ImageReader.jav

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v12]

2025-07-18 Thread Roger Riggs
On Wed, 16 Jul 2025 15:31:07 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v12]

2025-07-16 Thread David Beaumont
On Wed, 16 Jul 2025 15:31:07 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v12]

2025-07-16 Thread David Beaumont
On Wed, 16 Jul 2025 15:31:07 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v12]

2025-07-16 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v11]

2025-07-16 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v10]

2025-07-15 Thread Alan Bateman
On Tue, 15 Jul 2025 21:23:06 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v10]

2025-07-15 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v9]

2025-07-15 Thread Roger Riggs
On Tue, 15 Jul 2025 11:05:27 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v9]

2025-07-15 Thread Roger Riggs
On Tue, 15 Jul 2025 11:05:27 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v7]

2025-07-15 Thread Roger Riggs
On Tue, 15 Jul 2025 10:22:08 GMT, David Beaumont wrote: >> src/java.base/share/classes/jdk/internal/jimage/ImageReader.java line 182: >> >>> 180: >>> 181: private static final class SharedImageReader extends >>> BasicImageReader { >>> 182: // TODO: Should this be OPEN_FILES or open

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v9]

2025-07-15 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v7]

2025-07-15 Thread David Beaumont
On Fri, 11 Jul 2025 14:41:30 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v8]

2025-07-15 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v7]

2025-07-15 Thread David Beaumont
On Mon, 14 Jul 2025 20:11:51 GMT, Roger Riggs wrote: >> David Beaumont has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Linting of a few minor issues (nothing serious). >> >> * Linting of minor issues. >> * Factored out the module

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v7]

2025-07-14 Thread Roger Riggs
On Tue, 1 Jul 2025 14:09:49 GMT, David Beaumont wrote: >> David Beaumont has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Linting of a few minor issues (nothing serious). >> >> * Linting of minor issues. >> * Factored out the modul

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v7]

2025-07-14 Thread Roger Riggs
On Fri, 11 Jul 2025 14:41:30 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces cod

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v7]

2025-07-11 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v6]

2025-07-11 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v5]

2025-07-11 Thread David Beaumont
On Fri, 4 Jul 2025 12:40:43 GMT, Andrey Turbanov wrote: >> David Beaumont has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Feedback related changes. > > src/java.base/share/classes/jdk/internal/jimage/ImageReader.java line 193: > >> 191:

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v5]

2025-07-04 Thread Andrey Turbanov
On Wed, 2 Jul 2025 13:54:02 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces code

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v5]

2025-07-02 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v4]

2025-07-02 Thread David Beaumont
On Wed, 2 Jul 2025 12:51:27 GMT, Alan Bateman wrote: >> David Beaumont has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Small feedback related tweaks. > > src/java.base/share/classes/jdk/internal/module/SystemModuleFinders.java line > 26

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v4]

2025-07-02 Thread Alan Bateman
On Wed, 2 Jul 2025 08:38:40 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces code

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v4]

2025-07-02 Thread Alan Bateman
On Wed, 2 Jul 2025 08:38:40 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces code

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v4]

2025-07-02 Thread David Beaumont
On Wed, 2 Jul 2025 08:38:40 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces code

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v4]

2025-07-02 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v4]

2025-07-02 Thread David Beaumont
On Tue, 1 Jul 2025 14:32:41 GMT, ExE Boss wrote: >> David Beaumont has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Small feedback related tweaks. > > src/java.base/share/classes/jdk/internal/jimage/ImageReader.java line 207: > >> 205:

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v4]

2025-07-02 Thread David Beaumont
On Tue, 1 Jul 2025 18:30:56 GMT, Roger Riggs wrote: >> David Beaumont has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Small feedback related tweaks. > > src/java.base/share/classes/jdk/internal/jimage/ImageReader.java line 555: > >> 553

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v3]

2025-07-02 Thread David Beaumont
On Tue, 1 Jul 2025 14:29:51 GMT, Alan Bateman wrote: >> David Beaumont has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Feedback changes. >> >> * Making some simple tests parametrized. >> * Revert change to JImageReadTest (it passe

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v3]

2025-07-01 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v2]

2025-07-01 Thread David Beaumont
On Tue, 1 Jul 2025 18:45:49 GMT, Roger Riggs wrote: >> test/jdk/jdk/internal/jimage/ImageReaderTest.java line 78: >> >>> 76: >>> 77: @Test >>> 78: public void testModuleDirectories() throws IOException { >> >> I could make these more data driven (i.e. parametrized) if people want. > >

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v2]

2025-07-01 Thread David Beaumont
On Tue, 1 Jul 2025 19:54:10 GMT, David Beaumont wrote: >> src/java.base/share/classes/jdk/internal/module/SystemModuleFinders.java >> line 456: >> >>> 454: Optional node = >>> Optional.ofNullable(reader.findNode(nodeName)); >>> 455: if (node.isPresent() && !node.get().i

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v2]

2025-07-01 Thread David Beaumont
On Tue, 1 Jul 2025 14:29:28 GMT, Alan Bateman wrote: >> David Beaumont has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Updates based on feedback. > > src/java.base/share/classes/jdk/internal/module/SystemModuleFinders.java line > 62: >

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support [v2]

2025-07-01 Thread David Beaumont
> Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code complexity > and increases performance/memory efficiency. Th

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support

2025-07-01 Thread David Beaumont
On Tue, 1 Jul 2025 14:37:50 GMT, Alan Bateman wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces code c

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support

2025-07-01 Thread David Beaumont
On Tue, 1 Jul 2025 18:38:26 GMT, Roger Riggs wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces code co

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support

2025-07-01 Thread Roger Riggs
On Tue, 1 Jul 2025 14:02:11 GMT, David Beaumont wrote: >> Refactoring `ImageReader` to make it easy to add preview mode functionality >> for Valhalla. >> >> This PR is a large change to `ImageReader` (effectively a rewrite) but >> reduces the surface area of the API significantly, reduces code

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support

2025-07-01 Thread Roger Riggs
On Mon, 30 Jun 2025 23:27:49 GMT, David Beaumont wrote: > Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code com

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support

2025-07-01 Thread ExE Boss
On Mon, 30 Jun 2025 23:27:49 GMT, David Beaumont wrote: > Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code com

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support

2025-07-01 Thread Alan Bateman
On Mon, 30 Jun 2025 23:27:49 GMT, David Beaumont wrote: > Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code com

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support

2025-07-01 Thread Alan Bateman
On Mon, 30 Jun 2025 23:27:49 GMT, David Beaumont wrote: > Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code com

Re: RFR: 8360037: Refactor ImageReader in preparation for Valhalla support

2025-07-01 Thread David Beaumont
On Mon, 30 Jun 2025 23:27:49 GMT, David Beaumont wrote: > Refactoring `ImageReader` to make it easy to add preview mode functionality > for Valhalla. > > This PR is a large change to `ImageReader` (effectively a rewrite) but > reduces the surface area of the API significantly, reduces code com