Re: RFR: 8236847: CDS archive with 4K alignment unusable on machines with 64k pages [v2]

2021-03-01 Thread erik . joelsson
On 2021-02-28 06:11, Andrew Haley wrote: On Fri, 26 Feb 2021 18:28:04 GMT, Erik Joelsson wrote: Before this fix, the alignment is defaulting to that of the build host. We would like to provide a way to produce a JDK distribution, with a pre generated CDS archive, where the alignment has the

Re: RFR: 8236847: CDS archive with 4K alignment unusable on machines with 64k pages [v2]

2021-02-28 Thread Andrew Haley
On Sun, 28 Feb 2021 14:08:37 GMT, Andrew Haley wrote: >> Before this fix, the alignment is defaulting to that of the build host. We >> would like to provide a way to produce a JDK distribution, with a pre >> generated CDS archive, where the alignment has the highest known value of >> any targe

Re: RFR: 8236847: CDS archive with 4K alignment unusable on machines with 64k pages [v2]

2021-02-28 Thread Andrew Haley
On Fri, 26 Feb 2021 18:28:04 GMT, Erik Joelsson wrote: > Before this fix, the alignment is defaulting to that of the build host. We > would like to provide a way to produce a JDK distribution, with a pre > generated CDS archive, where the alignment has the highest known value of any > target h

Re: RFR: 8236847: CDS archive with 4K alignment unusable on machines with 64k pages [v2]

2021-02-26 Thread Erik Joelsson
On Wed, 24 Feb 2021 18:46:06 GMT, Ioi Lam wrote: >>> Thanks for review! Currently linux-aarch64, macos-aarch64(I don't know AIX) >>> can be configured with 4K/64K page size. To make one build compatible with >>> both, this change takes the 64K (or bigger) as the default region >>> alignment. I