Re: RFR: 8298048: Combine CDS archive heap into a single block

2023-04-21 Thread Ioi Lam
On Tue, 11 Apr 2023 21:47:40 GMT, Ashutosh Mehra wrote: >> This PR combines the "open" and "closed" regions of the CDS archive heap >> into a single region. This significantly simplifies the implementation, >> making it more compatible with non-G1 collectors. There's a net removal of >> ~1100

Re: RFR: 8298048: Combine CDS archive heap into a single block [v8]

2023-04-20 Thread Ioi Lam
> This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src code and another ~1200 lines of tests. > > **Not

Re: RFR: 8298048: Combine CDS archive heap into a single block [v7]

2023-04-19 Thread Thomas Schatzl
On Tue, 18 Apr 2023 20:16:06 GMT, Ioi Lam wrote: >> This PR combines the "open" and "closed" regions of the CDS archive heap >> into a single region. This significantly simplifies the implementation, >> making it more compatible with non-G1 collectors. There's a net removal of >> ~1000 lines i

Re: RFR: 8298048: Combine CDS archive heap into a single block [v7]

2023-04-18 Thread Ioi Lam
> This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src code and another ~1200 lines of tests. > > **Not

Re: RFR: 8298048: Combine CDS archive heap into a single block [v6]

2023-04-17 Thread Ioi Lam
> This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src code and another ~1200 lines of tests. > > **Not

Re: RFR: 8298048: Combine CDS archive heap into a single block [v5]

2023-04-13 Thread Matias Saavedra Silva
On Wed, 12 Apr 2023 17:59:23 GMT, Ioi Lam wrote: >> This PR combines the "open" and "closed" regions of the CDS archive heap >> into a single region. This significantly simplifies the implementation, >> making it more compatible with non-G1 collectors. There's a net removal of >> ~1000 lines i

Re: RFR: 8298048: Combine CDS archive heap into a single block

2023-04-12 Thread Ioi Lam
On Tue, 11 Apr 2023 21:47:40 GMT, Ashutosh Mehra wrote: > cds changes look good! just few nitpicks. Thanks for the review. I've incorporated your suggestions. - PR Comment: https://git.openjdk.org/jdk/pull/13284#issuecomment-1505698259

Re: RFR: 8298048: Combine CDS archive heap into a single block [v5]

2023-04-12 Thread Ioi Lam
> This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src code and another ~1200 lines of tests. > > **Not

Re: RFR: 8298048: Combine CDS archive heap into a single block [v4]

2023-04-12 Thread Ioi Lam
> This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src code and another ~1200 lines of tests. > > **Not

Re: RFR: 8298048: Combine CDS archive heap into a single block [v3]

2023-04-11 Thread Ioi Lam
> This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src code and another ~1200 lines of tests. > > **Not

Re: RFR: 8298048: Combine CDS archive heap into a single block [v2]

2023-04-11 Thread Ioi Lam
> This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src code and another ~1200 lines of tests. > > **Not

Re: RFR: 8298048: Combine CDS archive heap into a single block [v2]

2023-04-11 Thread Ioi Lam
On Fri, 7 Apr 2023 19:17:46 GMT, Matias Saavedra Silva wrote: >> Ioi Lam has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - more clean up: heap_regions -> heap_region, etc >> - @matias9927 comments > > src/hotspot/share/cds/archiveBuild

Re: RFR: 8298048: Combine CDS archive heap into a single block

2023-04-11 Thread Ashutosh Mehra
On Mon, 3 Apr 2023 03:32:27 GMT, Ioi Lam wrote: > This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src

Re: RFR: 8298048: Combine CDS archive heap into a single block

2023-04-11 Thread Ioi Lam
On Sat, 8 Apr 2023 07:14:30 GMT, Thomas Stuefe wrote: > This looks like a nice simplification. Will you also combine all mappings at > OS level to a single one, so that you only need one mmap call? Now there's a single call to mmap() in FileMapInfo::map_heap_regions_impl_inner(). This reminds

Re: RFR: 8298048: Combine CDS archive heap into a single block

2023-04-08 Thread Thomas Stuefe
On Mon, 3 Apr 2023 03:32:27 GMT, Ioi Lam wrote: > This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src

Re: RFR: 8298048: Combine CDS archive heap into a single block

2023-04-07 Thread Matias Saavedra Silva
On Mon, 3 Apr 2023 03:32:27 GMT, Ioi Lam wrote: > This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src

Re: RFR: 8298048: Combine CDS archive heap into a single block

2023-04-07 Thread Matias Saavedra Silva
On Mon, 3 Apr 2023 03:32:27 GMT, Ioi Lam wrote: > This PR combines the "open" and "closed" regions of the CDS archive heap into > a single region. This significantly simplifies the implementation, making it > more compatible with non-G1 collectors. There's a net removal of ~1000 lines > in src

RFR: 8298048: Combine CDS archive heap into a single block

2023-04-04 Thread Ioi Lam
This PR combines the "open" and "closed" regions of the CDS archive heap into a single region. This significantly simplifies the implementation, making it more compatible with non-G1 collectors. There's a net removal of ~1000 lines in src code and another ~1200 lines of tests. **Notes for revie