On Mon, 21 Nov 2022 16:46:43 GMT, Strahinja Stanojevic wrote:
>> This PR introduces an option to output stable names for the lambda classes
>> in the JDK. A stable name consists of two parts: The first part is the
>> predefined value `$$Lambda$` appended to the lambda captur
We can see that the introduced hash value does not change between two calls
> of the method `createPlainLambdas`. That was not the case in the JDK run
> without this change. Those lambdas are extracted directly from the test.
Strahinja Stanojevic has updated the pull request incrementally with on
We can see that the introduced hash value does not change between two calls
> of the method `createPlainLambdas`. That was not the case in the JDK run
> without this change. Those lambdas are extracted directly from the test.
Strahinja Stanojevic has updated the pull request incrementally with on
We can see that the introduced hash value does not change between two calls
> of the method `createPlainLambdas`. That was not the case in the JDK run
> without this change. Those lambdas are extracted directly from the test.
Strahinja Stanojevic has refreshed the contents of this pull request
We can see that the introduced hash value does not change between two calls
> of the method `createPlainLambdas`. That was not the case in the JDK run
> without this change. Those lambdas are extracted directly from the test.
Strahinja Stanojevic has updated the pull request incrementally with
On Tue, 6 Sep 2022 16:47:03 GMT, Ioi Lam wrote:
>> This PR introduces a system property that creates stable names for the
>> lambda classes in the JDK. Instead of using an atomic counter in the lambda
>> name, we can use a 32-bit hash after `$$Lambda$`. Thus, the name becomes
>> `lambdaCapturi
On Thu, 15 Sep 2022 11:50:57 GMT, Strahinja Stanojevic wrote:
>> This PR introduces a system property that creates stable names for the
>> lambda classes in the JDK. Instead of using an atomic counter in the lambda
>> name, we can use a 32-bit hash after `$$Lambda$`. Thus
t it. Appending `#` only affects the
> hash length, but not its stability.
>
> Link to the related issue: https://bugs.openjdk.org/browse/JDK-8292914
Strahinja Stanojevic has updated the pull request incrementally with one
additional commit since the last revision:
Add addit
On Tue, 6 Sep 2022 16:47:03 GMT, Ioi Lam wrote:
> Have you tested with method references? Two references to the same method
> will result in a single `JVM_CONSTANT_InvokeDynamic` constant pool entry in
> the classfile, but it's invoked by two callsites. As a result, two different
> lambda prox
t it. Appending `#` only affects the
> hash length, but not its stability.
>
> Link to the related issue: https://bugs.openjdk.org/browse/JDK-8292914
Strahinja Stanojevic has updated the pull request incrementally with one
additional commit since the last revision:
Enhance test with
This PR introduces a system property that creates stable names for the lambda
classes in the JDK. Instead of using an atomic counter in the lambda name, we
can use a 32-bit hash after `$$Lambda$`. Thus, the name becomes
`lambdaCapturingClass$$Lambda$hashValue`.
Parameters used to create a stable
11 matches
Mail list logo