Re: RFR: 8308445: Linker should check that capture state segment is big enough [v2]

2023-06-07 Thread Maurizio Cimadamore
On Tue, 6 Jun 2023 17:24:34 GMT, Jorn Vernee wrote: >> Fix the bug mentioned in the JBS issue. >> >> The implementation is updated to slice the capture state segment using the >> capture state layout. This checks both that the segment is big enough, and >> that it is properly aligned. >> >> A

Re: RFR: 8308445: Linker should check that capture state segment is big enough [v2]

2023-06-06 Thread Jorn Vernee
> Fix the bug mentioned in the JBS issue. > > The implementation is updated to slice the capture state segment using the > capture state layout. This checks both that the segment is big enough, and > that it is properly aligned. > > Additionally, I added a check for `MS::NULL` since this is als

Re: RFR: 8308445: Linker should check that capture state segment is big enough

2023-06-06 Thread Jorn Vernee
On Tue, 6 Jun 2023 17:13:23 GMT, Maurizio Cimadamore wrote: >> Fix the bug mentioned in the JBS issue. >> >> The implementation is updated to slice the capture state segment using the >> capture state layout. This checks both that the segment is big enough, and >> that it is properly aligned.

Re: RFR: 8308445: Linker should check that capture state segment is big enough

2023-06-06 Thread Maurizio Cimadamore
On Tue, 6 Jun 2023 16:22:41 GMT, Jorn Vernee wrote: > Fix the bug mentioned in the JBS issue. > > The implementation is updated to slice the capture state segment using the > capture state layout. This checks both that the segment is big enough, and > that it is properly aligned. > > Addition

RFR: 8308445: Linker should check that capture state segment is big enough

2023-06-06 Thread Jorn Vernee
Fix the bug mentioned in the JBS issue. The implementation is updated to slice the capture state segment using the capture state layout. This checks both that the segment is big enough, and that it is properly aligned. Additionally, I added a check for `MS::NULL` since this is also an illegal