Re: Reducing Garbage Generated by URLClassLoader

2016-12-04 Thread Xueming Shen
On 12/4/16, 1:21 PM, Scott Palmer wrote: Excuse me if this is the wrong list for this discussion. Please direct me to the right place if this isn’t it. When doing an analysis of garbage generation in our application we discovered a significant number of redundant strings generated by the clas

Re: Unexpected BindException in Endpoint.publish

2016-12-04 Thread KUBOTA Yuji
Hi Aleksej, We await this backport for migrating our system into JDK 8. If you want some help to progress it, please let me know :) Thanks, Yuji 2016-08-04 9:35 GMT+09:00 KUBOTA Yuji : > Hi Aleksej, > > Thank you very much! > If you need some help about the patch, please mention me :) > > Thanks

Re: Reducing Garbage Generated by URLClassLoader

2016-12-04 Thread Claes Redestad
Hi Scott, On 12/04/2016 01:21 PM, Scott Palmer wrote: Excuse me if this is the wrong list for this discussion. Please direct me to the right place if this isn’t it. I think this is a good place based on the aspects you're addressing. When doing an analysis of garbage generation in our app

Reducing Garbage Generated by URLClassLoader

2016-12-04 Thread Scott Palmer
Excuse me if this is the wrong list for this discussion. Please direct me to the right place if this isn’t it. When doing an analysis of garbage generation in our application we discovered a significant number of redundant strings generated by the class loader. In my case there are hundreds o

Re: RFR 8170348: Appendable.appendN(char, int) method to append multiple copies of char

2016-12-04 Thread Ivan Gerasimov
Thank you Claes for looking into it! On 04.12.2016 16:48, Claes Redestad wrote: Hi Ivan, as this adds a new public API I guess it's too late for 9 at this point, but here's a few comments anyhow: Yes, of course. If people find it useful, I would expect it to go to jdk 10. - you could use

Re: RFR 8170348: Appendable.appendN(char, int) method to append multiple copies of char

2016-12-04 Thread Claes Redestad
Hi Ivan, as this adds a new public API I guess it's too late for 9 at this point, but here's a few comments anyhow: - you could use Arrays.fill(byte[], int, int, byte) for LATIN-1 case in AbstractStringBuilder. Might not make it much faster (unless there are intrinsics at play, but perhaps a

RFR 8170348: Appendable.appendN(char, int) method to append multiple copies of char

2016-12-04 Thread Ivan Gerasimov
Hello! There are several places in JDK where the same character is appended to a StringBuilder object multiple times (usually padding). With each append there are a few routine checks performed. They could have been done only once, if we had a method for appending multiple copies at a time. A