Looks good to me Rahul!
best regards,
-- daniel
On 27/08/2020 19:14, Rahul Yadav wrote:
Thank you all for the feedback. I have included feedback and updated
webrev.
Before :
Benchmark Mode Cnt Score Error Units
ThreadLocalURI.uriDecoderBaseline avgt 25 55
Hi Evan,
Actually - I believe you are still missing a test that verifies
the actual issue - that is:
If a multi valued field is sent over the wire as a repeated
list of headers - that is - if it is transmitted as:
foo: foo1
foo: foo2
foo: foo3
then you need to verify that HttpURLConnection.get
On 27/08/2020 19:14, Rahul Yadav wrote:
Thank you all for the feedback. I have included feedback and updated
webrev.
Before :
Benchmark Mode Cnt Score Error Units
ThreadLocalURI.uriDecoderBaseline avgt 25 556.315 ± 23.389 ns/op
ThreadLocalURI.uriDecoderTest
Thank you all for the feedback. I have included feedback and updated
webrev.
Before :
Benchmark Mode Cnt Score Error Units
ThreadLocalURI.uriDecoderBaseline avgt 25 556.315 ± 23.389 ns/op
ThreadLocalURI.uriDecoderTest avgt 25 728.413 ± 19.833 ns/op
Th
Daniel,
> On 14 Aug 2020, at 16:43, Daniel Fuchs wrote:
>
> Hi,
>
> After discussion with Chris & Alan I have slightly reworded
> the API documentation, and ensured the MultiExchange is only
> weakly referenced from the MinimalFuture to avoid the risk of
> pinning the exchange in memory after i
Hi Rahul,
The code changes look good to me but the uriDecoderTest needs
some working. The reason is that the decoded path is cached
in the URI, so only the first call to getPath() will decode it.
The following calls will just return the cached value.
I also believe you should remove the inner lo
On 2020-08-27 16:11, Alan Bateman wrote:
For the micro, I'm curious if iterations is needed.
I'd say the canonical JMH way of doing these might be something as
simple as this:
@Benchmark
public URI encodeURI() throws URISyntaxException {
return new URI("http", "\u00A0", "\u
On 27/08/2020 14:11, Rahul Yadav wrote:
Hello,
Request to have my fix reviewed for issue:
JDK-8245308: Replace ThreadLocalCoders decoder/encoder cache in
java.net.URI.
This fix updates java.net.URI, replaces the ThreadLocalCoders
optimization.
The benchmark results indicate no impact, opti
Hello,
Request to have my fix reviewed for issue:
JDK-8245308: Replace ThreadLocalCoders decoder/encoder cache in
java.net.URI.
This fix updates java.net.URI, replaces the ThreadLocalCoders optimization.
The benchmark results indicate no impact, optimization can be
replaced.The results of