This PR proposes to reformat all the JavaDocs for the FFM API. This would bring
the FFM API docs more in line with the existing Java documentation (see below).
Occasional drive-by fixes are also included in this PR (such as spelling and
capitalization).
I am aware this PR will (if approved) ma
> For code like:
>
> enum E {A {}, B {} }
> Object o = E.A;
> switch (o) {
> case E.A -> System.err.println(o);
> default -> System.err.println("default");
> }
>
>
> The result is `default`, not `A`, due to incorrect classes being compared.
> Thanks for @liach for noting the solution
Discovered while writing a test for #16513 that
`ClassSignature.superclassSignature()` does not return a `ClassTypeSig`, yet
[JVM
Spec](https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-4.html#jvms-4.7.9.1-4100)
requires it to be one. This patch adds such a requirement to the accessors,
Observed this erroneous implementation while browsing, and included a quick
test against javac output class file to confirm the correct implementation.
@asotona Please take a look.
-
Commit messages:
- 8319462: Signature.ClassTypeSig::classDesc() incorrect for inner class types
Ch
On Fri, 3 Nov 2023 23:22:27 GMT, Claes Redestad wrote:
>> https://github.com/cassioneri/eaf suggest this code for leap year
>> calculation:
>>
>> public static boolean isLeap(long year) {
>> int d = year % 100 != 0 ? 4 : 16;
>> return (year & (d - 1)) == 0;
>> }
>>
>> .
On Sun, 8 Oct 2023 17:01:37 GMT, Joe Darcy wrote:
>> @liach , thank you for working on this fix. I've given the changes an
>> initial skim, but will need to do a more thorough review before approving or
>> offering suggestions for changes. My top priority for the next few weeks
>> will be JDK
On Fri, 3 Nov 2023 23:22:27 GMT, Claes Redestad wrote:
>> https://github.com/cassioneri/eaf suggest this code for leap year
>> calculation:
>>
>> public static boolean isLeap(long year) {
>> int d = year % 100 != 0 ? 4 : 16;
>> return (year & (d - 1)) == 0;
>> }
>>
>> .
On Sun, 5 Nov 2023 22:14:50 GMT, Claes Redestad wrote:
>> Thanks for your interest in my work. I'd love to assist porting our
>> algorithms to Java. Notice, however, that I'm not a Java programmer and I
>> don't have the complete picture of what goes on in the JVM. What follows is
>> based on
On Sat, 4 Nov 2023 20:12:58 GMT, Cassio Neri wrote:
>> Claes Redestad has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Apply similar optimization to GregorianCalendar, sun.util.calendar
>
> Thanks for your interest in my work. I'd love to
On Fri, 3 Nov 2023 20:40:11 GMT, Justin Lu wrote:
> Please review this PR which clarifies the definition of a _cancelled_ task in
> _j.util.Timer::purge_ and _j.util.Timer::cancel_.
>
> Timer::purge claims that its return value is the number of tasks in the queue
> that were cancelled. This ca
On Fri, 3 Nov 2023 00:22:55 GMT, Sandhya Viswanathan
wrote:
>> Jatin Bhateja has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Restricting masked sub-word gather to AVX512 target to align with integral
>> gather support.
>
> src/hotspot/
On Fri, 3 Nov 2023 23:20:49 GMT, Sandhya Viswanathan
wrote:
>> Jatin Bhateja has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Restricting masked sub-word gather to AVX512 target to align with integral
>> gather support.
>
> src/hotspot/
On Fri, 3 Nov 2023 20:00:30 GMT, Sandhya Viswanathan
wrote:
>> Jatin Bhateja has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Restricting masked sub-word gather to AVX512 target to align with integral
>> gather support.
>
> src/hotspot/
> Hi All,
>
> This patch optimizes sub-word gather operation for x86 targets with AVX2 and
> AVX512 features.
>
> Following is the summary of changes:-
>
> 1) Intrinsify sub-word gather with high performance backend implementation
> based on hybrid algorithm which initially partially unrolls s
On Sun, 5 Nov 2023 12:58:33 GMT, Jatin Bhateja wrote:
>> src/hotspot/cpu/x86/x86.ad line 4074:
>>
>>> 4072: BasicType elem_bt = Matcher::vector_element_basic_type(this);
>>> 4073: assert(!is_subword_type(elem_bt), "sanity"); // T_INT, T_LONG,
>>> T_FLOAT, T_DOUBLE
>>> 4074: __ vpcmp
On Fri, 3 Nov 2023 23:07:44 GMT, Sandhya Viswanathan
wrote:
>> Jatin Bhateja has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Restricting masked sub-word gather to AVX512 target to align with integral
>> gather support.
>
> src/hotspot/
16 matches
Mail list logo