> On 13 Jan 2017, at 14:45, Alan Bateman wrote:
>
>
>> :
>> Alternatively, you can view optional dependency usage more like 'if the
>> application already uses A, then Lib should also use A as well' in which
>> case your suggested setup and the current implementation make total sense.
>> Thi
That makes the code simpler. The performance doesn't change. I've
updated in place.
2017-01-14 15:53 keltezéssel, Remi Forax írta:
Attila,
you can use @Stable initialized with null instead of final when you declare the
spreaderCache so you do not have to use Unsafe.
Rémi
- Mail original
Attila,
you can use @Stable initialized with null instead of final when you declare the
spreaderCache so you do not have to use Unsafe.
Rémi
- Mail original -
> De: "Hontvári Attila"
> À: jigsaw-dev@openjdk.java.net
> Envoyé: Samedi 14 Janvier 2017 13:56:58
> Objet: Re: MethodHandle per
As an experiment I have reimplemented MethodHandle::invokeWithArguments,
so it only generates a spreader on the first invocation, after that the
spreader will be reused. Now it is 10 times faster, therefore it reaches
the performance of reflection. If we don't pass primitive arguments, the
perf
On 01/14/2017 02:38 AM, Alex Buckley wrote:
On 1/13/2017 3:52 PM, Stephan Herrmann wrote:
Speaking of which, I'm confused by these sentences:
7.2:
"The host system is free to decide that a compilation unit containing a
module declaration is not, in fact, associated with the module declared
ther