Re: RFR: 8163878: Remove unnecessary bridge methods, allocations in java.lang.invoke

2016-08-11 Thread John Rose
@Stable works on non-final fields as well as array elements. – John > On Aug 11, 2016, at 2:48 PM, Aleksey Shipilev > wrote: > > Stable only works on finals, right?

Re: RFR: 8163878: Remove unnecessary bridge methods, allocations in java.lang.invoke

2016-08-11 Thread Aleksey Shipilev
On 08/11/2016 11:51 PM, Michael Haupt wrote: > thumbs up - I'd appreciate if Aleksey could take a glance at the changes in > the String concatenation logic though. > > Best, > Michael > >> Am 11.08.2016 um 10:55 schrieb Claes Redestad : >> >> while further untangling the bootstrap of java.lang.i

Re: RFR: 8163878: Remove unnecessary bridge methods, allocations in java.lang.invoke

2016-08-11 Thread Michael Haupt
Hi Claes, thumbs up - I'd appreciate if Aleksey could take a glance at the changes in the String concatenation logic though. Best, Michael > Am 11.08.2016 um 10:55 schrieb Claes Redestad : > > Hi, > > while further untangling the bootstrap of java.lang.invoke I found a number > of trivial/m

RFR: 8163878: Remove unnecessary bridge methods, allocations in java.lang.invoke

2016-08-11 Thread Claes Redestad
Hi, while further untangling the bootstrap of java.lang.invoke I found a number of trivial/minor/small contrivances, including: - calling of private methods and constants in parent classes generates and heavily exercise synthetic bridge methods; carefully making more of these package-private