RFR: JDK-8156995 - jimage: extract specified contents
Jim Laskey (Oracle)
james.laskey at oracle.com
Wed Jun 1 15:35:55 UTC 2016
We tried using regex in jlink for various filters and found that it made jlink > 10x slower. Granted jlink is time critical and jimage is not. I made the assumption that filter expressions would be very basic, most of the time, and tried to be consistent with filters for both tools. I could easily change it to use regex if not a basic pattern.
Note we also chose not to use java.lang.regex in Nashorn for similar reasons (plus the fact it didn’t meet JS spec. .) Might be worth revisiting regex performance.
— Jim
> On Jun 1, 2016, at 12:24 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
> On 01/06/2016 15:48, Jim Laskey (Oracle) wrote:
>
>> http://cr.openjdk.java.net/~jlaskey/8156995/webrev/index.html
>> https://bugs.openjdk.java.net/browse/JDK-8156995
> Jim - should this allow regex rather than just "*" ?
>
> -Alan
More information about the jigsaw-dev
mailing list