ess
> 3. Eliminate duplicate code in BigDecimal
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
remove comments, from @liach
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21593/files
- new: https://git.openj
On Wed, 6 Nov 2024 01:44:38 GMT, Chen Liang wrote:
>> Shaojin Wen has updated the pull request with a new target base due to a
>> merge or a rebase. The incremental webrev excludes the unrelated changes
>> brought in by the merge/rebase. The pull request contains 11 addi
Reuse the optimized putCharsAt method of StringLatin1 and StringUTF16 in PR
#19626 to simplify the code, eliminate boundary checks, and improve performance
-
Commit messages:
- use StringLatin1::putCharsAt and StringUTF16::putCharsAt
Changes: https://git.openjdk.org/jdk/pull/21907/
> By removing the redundant code logic in
> DateTimeFormatterBuilder$InstantPrinterParser#formatTo, the codeSize can be
> reduced and the performance can be improved.
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev exc
ess
> 3. Eliminate duplicate code in BigDecimal
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unrelated changes brought in
by the merge/rebase. The pull request contains 11 additional commits since the
last revis
On Mon, 10 Jun 2024 12:12:58 GMT, Shaojin Wen wrote:
> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into
> primitive arrays by combining values into larger stores.
>
> This PR rewrites the code of appendNull and append(boolean) methods so that
> th
On Fri, 18 Oct 2024 21:56:53 GMT, Shaojin Wen wrote:
>> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into
>> primitive arrays by combining values into larger stores.
>>
>> This PR rewrites the code of appendNull and append(boolean) metho
On Sat, 2 Nov 2024 22:50:29 GMT, Shaojin Wen wrote:
> A small improvement to ArrayClassDescImpl#computeDescriptor that avoids
> intermediate object allocation in the common rank 1 scenario.
This pull request has now been integrated.
Changeset: 67907d5e
Author:Shaojin We
A small improvement to ArrayClassDescImpl#computeDescriptor that avoids
intermediate object allocation in the common rank 1 scenario.
-
Commit messages:
- optimize computeDescriptor
Changes: https://git.openjdk.org/jdk/pull/21860/files
Webrev: https://webrevs.openjdk.org/?repo=jd
On Fri, 18 Oct 2024 10:01:59 GMT, Shaojin Wen wrote:
> Cache commonly used classDesc to avoid creating ReferenceClassDescImpl every
> time
This pull request has been closed without being integrated.
-
PR: https://git.openjdk.org/jdk/pull/21580
> Set the default value of DirectCodeBuilder::handlers to Null to reduce
> overhead in scenarios where there is no handler.
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
List.of
-
Changes:
- all:
Set the default value of DirectCodeBuilder::handlers to Null to reduce overhead
in scenarios where there is no handler.
-
Commit messages:
- handlers default null
Changes: https://git.openjdk.org/jdk/pull/21598/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21598&range=00
On Fri, 18 Oct 2024 21:56:53 GMT, Shaojin Wen wrote:
>> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into
>> primitive arrays by combining values into larger stores.
>>
>> This PR rewrites the code of appendNull and append(boolean) metho
On Fri, 18 Oct 2024 21:56:53 GMT, Shaojin Wen wrote:
>> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into
>> primitive arrays by combining values into larger stores.
>>
>> This PR rewrites the code of appendNull and append(boolean) metho
On Fri, 18 Oct 2024 21:56:53 GMT, Shaojin Wen wrote:
>> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into
>> primitive arrays by combining values into larger stores.
>>
>> This PR rewrites the code of appendNull and append(boolean) metho
On Sun, 20 Oct 2024 17:33:09 GMT, j3graham wrote:
>> Move getChars methods of StringLatin1 and StringUTF16 to DecimalDigits to
>> reduce duplication
>>
>> 1. HexDigits and OctalDigits also include getCharsLatin1 and getCharsUTF16
>> 2. Putting these two methods into DecimalDigits can avoid the
Move getChars methods of StringLatin1 and StringUTF16 to DecimalDigits to
reduce duplication
1. HexDigits and OctalDigits also include getCharsLatin1 and getCharsUTF16
2. Putting these two methods into DecimalDigits can avoid the need to expose
them in JavaLangAccess
3. Eliminate duplicate code
On Fri, 18 Oct 2024 21:56:53 GMT, Shaojin Wen wrote:
>> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into
>> primitive arrays by combining values into larger stores.
>>
>> This PR rewrites the code of appendNull and append(boolean) metho
> Cache commonly used classDesc to avoid creating ReferenceClassDescImpl every
> time
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
add LFI/NFI
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21580/files
On Fri, 18 Oct 2024 13:32:57 GMT, Chen Liang wrote:
>> Cache commonly used classDesc to avoid creating ReferenceClassDescImpl every
>> time
>
> src/java.base/share/classes/java/lang/invoke/InvokerBytecodeGenerator.java
> line 141:
>
>> 139: case "MH" -> CD_MH;
>> 140:
Cache commonly used classDesc to avoid creating ReferenceClassDescImpl every
time
-
Commit messages:
- cache ClassDesc MH/BMH/DMH
Changes: https://git.openjdk.org/jdk/pull/21580/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21580&range=00
Issue: https://bugs.openjdk.or
On Fri, 18 Oct 2024 21:56:53 GMT, Shaojin Wen wrote:
>> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into
>> primitive arrays by combining values into larger stores.
>>
>> This PR rewrites the code of appendNull and append(boolean) metho
> After PR https://github.com/openjdk/jdk/pull/16245, C2 optimizes stores into
> primitive arrays by combining values into larger stores.
>
> This PR rewrites the code of appendNull and append(boolean) methods so that
> these two methods can be optimized by C2.
Shaojin Wen
On Sun, 6 Oct 2024 01:22:33 GMT, Shaojin Wen wrote:
> ReferenceClassDescImpl caches internalName to avoid creating a new String
> object for each call, which can also simplify the implementation of classfile.
This pull request has now been integrated.
Changeset: 0963b9e8
Author:S
> ReferenceClassDescImpl caches internalName to avoid creating a new String
> object for each call, which can also simplify the implementation of classfile.
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unr
On Sun, 13 Oct 2024 01:42:38 GMT, Shaojin Wen wrote:
> This is a code style improvement for imports in the java/lang/classfile and
> jdk/internal/classfile/impl directories, includes:
> 1. Import in alphabetical order
> 2. Add a blank line between java and jdk imports
> 3. Use
> This is a code style improvement for imports in the java/lang/classfile and
> jdk/internal/classfile/impl directories, includes:
> 1. Import in alphabetical order
> 2. Add a blank line between java and jdk imports
> 3. Use import * for a large number of imports
Shaojin Wen has u
This is a code style improvement for imports in the java/lang/classfile and
jdk/internal/classfile/impl directories, includes:
1. Import in alphabetical order
2. Add a blank line between java and jdk imports
3. Use import * for a large number of imports
-
Commit messages:
- optimize
> ReferenceClassDescImpl caches internalName to avoid creating a new String
> object for each call, which can also simplify the implementation of classfile.
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unr
On Thu, 10 Oct 2024 03:55:34 GMT, Shaojin Wen wrote:
> A simple optimization to reduce duplicate code. Reduce the codeSize of
> writeBody from 268 to 240
This pull request has now been integrated.
Changeset: 472db922
Author:Shaojin Wen
URL:
https://git.openjdk.org/jdk/
On Thu, 10 Oct 2024 01:13:13 GMT, Shaojin Wen wrote:
> We made a lot of improvements to merge writes to BufWriter in #21243, and
> this PR is about doing more of the same.
This pull request has now been integrated.
Changeset: 24eb3601
Author:Shaojin Wen
URL:
> ReferenceClassDescImpl caches internalName to avoid creating a new String
> object for each call, which can also simplify the implementation of classfile.
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unr
On Fri, 27 Sep 2024 17:05:25 GMT, Shaojin Wen wrote:
> A small optimization to reduce the write operations of trimAndCompress
This pull request has now been integrated.
Changeset: 6e013845
Author: Shaojin Wen
URL:
https://git.openjdk.org/jdk/com
> ReferenceClassDescImpl caches internalName to avoid creating a new String
> object for each call, which can also simplify the implementation of classfile.
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unr
On Wed, 28 Aug 2024 22:20:25 GMT, Shaojin Wen wrote:
> Reduce code size by combining calls and defining local variables
This pull request has now been integrated.
Changeset: e9327b6e
Author: Shaojin Wen
URL:
https://git.openjdk.org/jdk/commit/e9327b6e3c1fcc47ec790fa4e4019f7651a8f
We made a lot of improvements to merge writes to BufWriter in #21243, and this
PR is about doing more of the same.
-
Commit messages:
- merge write
Changes: https://git.openjdk.org/jdk/pull/21437/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21437&range=00
Issue: https
A simple optimization to reduce duplicate code. Reduce the codeSize of
writeBody from 268 to 240
-
Commit messages:
- optimize writeBody
Changes: https://git.openjdk.org/jdk/pull/21440/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21440&range=00
Issue: https://bugs.ope
> ReferenceClassDescImpl caches internalName to avoid creating a new String
> object for each call, which can also simplify the implementation of classfile.
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The incremental webrev excludes the unr
On Wed, 9 Oct 2024 17:17:36 GMT, Shaojin Wen wrote:
> Cache method names to reduce the overhead of using StringBuilder to construct
> method names, which will make the performance test results more stable.
This pull request has now been integrated.
Changeset: 475f8f94
Author:Shaoj
On Tue, 8 Oct 2024 00:47:27 GMT, Shaojin Wen wrote:
> A simple optimization that eliminates the allocation of the
> MethodTypeDescImpl object when parameterCount is equal to 0 and eliminates
> the allocation of argNames when parameterCount is equal to 1
This pull request has
Cache method names to reduce the overhead of using StringBuilder to construct
method names, which will make the performance test results more stable.
-
Commit messages:
- cache methodName
Changes: https://git.openjdk.org/jdk/pull/21425/files
Webrev: https://webrevs.openjdk.org/?r
> Reduce code size by combining calls and defining local variables
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The pull request now contains 18 commits:
- Merge remote-tracking branch 'upstream/master' into
optim_stack_map_gen_20
> Reduce code size by combining calls and defining local variables
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
use 4 spaces.
-
Changes:
- all: https://git.openjdk.org/jdk/pull/20756/files
- new: ht
> Reduce code size by combining calls and defining local variables
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
Update
src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java
Co-authored-by: Chen Li
On Thu, 29 Aug 2024 11:44:50 GMT, Shaojin Wen wrote:
> A very small optimization, split the large method inflate, split the
> infrequently used paths into a method inflateCHAR
This pull request has now been integrated.
Changeset: a24525b6
Author:Shaojin Wen
URL:
On Sun, 29 Sep 2024 00:02:38 GMT, Shaojin Wen wrote:
> Some DirectCodeBuilder related optimizations to improve startup and running
> performance:
> 1. Merge calls, merge writeU1 and writeU2 into writeU3
> 2. Merge calls, merge writeU1 and writeIndex operations
> 3. Directly use
On Wed, 9 Oct 2024 04:20:17 GMT, Chen Liang wrote:
> Back to precomputed constants :)
Manual shift computation! The code is also simplified based on precomputed
constants.
-
PR Comment: https://git.openjdk.org/jdk/pull/21399#issuecomment-2401334988
> A simple optimization that eliminates the allocation of the
> MethodTypeDescImpl object when parameterCount is equal to 0 and eliminates
> the allocation of argNames when parameterCount is equal to 1
Shaojin Wen has updated the pull request incrementally with one additional
commit
> A simple optimization that eliminates the allocation of the
> MethodTypeDescImpl object when parameterCount is equal to 0 and eliminates
> the allocation of argNames when parameterCount is equal to 1
Shaojin Wen has updated the pull request incrementally with one additional
commit
On Tue, 8 Oct 2024 22:32:24 GMT, Chen Liang wrote:
>> src/java.base/share/classes/jdk/internal/classfile/impl/DirectCodeBuilder.java
>> line 706:
>>
>>> 704: public void writeLoadConstant(Opcode opcode, LoadableConstantEntry
>>> value) {
>>> 705: // Make sure Long and Double have L
> A simple optimization that eliminates the allocation of the
> MethodTypeDescImpl object when parameterCount is equal to 0 and eliminates
> the allocation of argNames when parameterCount is equal to 1
Shaojin Wen has updated the pull request incrementally with one additional
commit
On Tue, 8 Oct 2024 22:15:23 GMT, Claes Redestad wrote:
> LGTM.
>
> I spotted places outside of the DirectCodeBuilder paths that could benefit
> from using these new coalescing writers, but write-only cases is a good focus
> point for now.
Are you talking about merging multiple writeU2 in plac
implementation of load and store
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
fix comment
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21243/files
- new: https://git.openjdk.org/jdk/pull/21243/files/cd597a2a.
> A simple optimization that eliminates the allocation of the
> MethodTypeDescImpl object when parameterCount is equal to 0 and eliminates
> the allocation of argNames when parameterCount is equal to 1
Shaojin Wen has updated the pull request with a new target base due to a merge
or
On Fri, 4 Oct 2024 12:05:02 GMT, Shaojin Wen wrote:
> java.base should provide best practices for Class File API
>
> 1. Use fluent coding style
> 2. Use aconst_null instead of oadConstant(null)
> 3. use astore intead of 'storeLocal(REFERENCE'
> 4. use aload instead
> A simple optimization that eliminates the allocation of the
> MethodTypeDescImpl object when parameterCount is equal to 0 and eliminates
> the allocation of argNames when parameterCount is equal to 1
Shaojin Wen has updated the pull request incrementally with one additional
commit
> A simple optimization that eliminates the allocation of the
> MethodTypeDescImpl object when parameterCount is equal to 0 and eliminates
> the allocation of argNames when parameterCount is equal to 1
Shaojin Wen has updated the pull request incrementally with one additional
commit
A simple optimization that eliminates the allocation of the MethodTypeDescImpl
object when parameterCount is equal to 0 and eliminates the allocation of
argNames when parameterCount is equal to 1
-
Commit messages:
- Use global cache, don't need per-instance array
- Merge remote-t
implementation of load and store
Shaojin Wen has updated the pull request incrementally with four additional
commits since the last revision:
- Fold opcode.bytecode() in writeLoadConstant
- A few missed places, U1U2U2 seem common enough too to be included
- Rename writeUtfEntry
- Fold TAG_UTF8 w
On Sun, 6 Oct 2024 21:45:08 GMT, Claes Redestad wrote:
>> #14632 showed that coalescing loads in the `ZipUtils` utility methods could
>> improve performance in zip-related microbenchmarks, but doing so would
>> increase startup overheads. Progress was stalled as we backed out some
>> related e
On Fri, 4 Oct 2024 23:49:42 GMT, Shaojin Wen wrote:
> Use `slot & ~0xFF == 0` instead of `(slot & 0xFF) == slot` to reduce codeSize.
>
> The following is a comparison of the bytecode before and after the
> modification. It can be seen that using `slot & ~0xFF == 0`
implementation of load and store
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
suggestion from @liach
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21243/files
- new: https://git.openjdk.org/jdk/pull/21243/files/
ReferenceClassDescImpl caches internalName to avoid creating a new String
object for each call, which can also simplify the implementation of classfile.
-
Commit messages:
- suggestion from @liach
- stable
- ReferenceClassDescImpl cache internalName
Changes: https://git.openjdk.o
On Sun, 6 Oct 2024 01:22:33 GMT, Shaojin Wen wrote:
> ReferenceClassDescImpl caches internalName to avoid creating a new String
> object for each call, which can also simplify the implementation of classfile.
In many scenarios where classfile is used, ClassDesc is cached by stat
lstore' instead of 'loadLocal(LONG)/storeLocal(LONG)'
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
more fluent coding style
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21355/files
- new: ht
On Tue, 10 Sep 2024 13:13:22 GMT, Shaojin Wen wrote:
>> The string concatenation of the java.base module is implemented using
>> StringBuilder. By providing a series of concat methods in
>> StringConcatHelper, it is used in the java.lang package to replace string
Use `slot & ~0xFF == 0` instead of `(slot & 0xFF) == slot` to reduce codeSize.
The following is a comparison of the bytecode before and after the
modification. It can be seen that using `slot & ~0xFF == 0` will reduce one
iload operation.
// (slot & 0xFF) == slot
56: iload_0
57: sipush
implementation of load and store
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
fix merge error
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21243/files
- new: https://git.openjdk.org/jdk/pull/21243/files/d4752d5f.
implementation of load and store
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The pull request now contains 81 commits:
- Merge branch 'master' into optim_direct_code_builder_202409
- Merge remote-tracking branch 'upstream/master'
> Reduce code size by combining calls and defining local variables
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The pull request now contains 15 commits:
- Merge branch 'master' into optim_stack_map_gen_202408
- Merge branch
On Fri, 4 Oct 2024 02:15:51 GMT, Shaojin Wen wrote:
> A small optimization for StackMapGenerator::processInvokeInstructions.
>
> 1. Use local currentFrame to avoid multiple getfields
> 2. remove Util.methodTypeSymbol(NameAndTypeEntry)
> 3. Use decStack instead of popStack to redu
implementation of load and store
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The pull request now contains 80 commits:
- Merge remote-tracking branch 'upstream/master' into
optim_direct_code_builder_202409
- Update
src/java.base/share/cl
> Reduce code size by combining calls and defining local variables
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The pull request now contains 14 commits:
- Merge branch 'master' into optim_stack_map_gen_202408
- reduce codeSize
- re
On Fri, 4 Oct 2024 02:47:12 GMT, Shaojin Wen wrote:
> A small optimization to reduce CodeSize, codeSize reduced from 164 to 140.
>
> 1. Use local currentFrame to avoid multiple getfields
> 2. Use decStack instead of popStack to reduce array access in popStack
> 3. Call Util.fie
ed from 277 to 262
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The pull request now contains five commits:
- Merge branch 'master' into optim_classfile_stack_map_process_invoke_202410
- Update
src/java.base/share/classes/j
lstore' instead of 'loadLocal(LONG)/storeLocal(LONG)'
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
more fluent coding style
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21355/files
- new: ht
On Fri, 6 Sep 2024 09:58:58 GMT, Shaojin Wen wrote:
> PR #20772 introduced an optimization for writeUTF, which can also be used in
> DataOutputStream::writeUTF.
This pull request has now been integrated.
Changeset: b42fbf43
Author:Shaojin Wen
URL:
https://git.openjdk.o
On Fri, 4 Oct 2024 12:05:02 GMT, Shaojin Wen wrote:
> java.base should provide best practices for Class File API
>
> 1. Use fluent coding style
> 2. Use aconst_null instead of oadConstant(null)
> 3. use astore intead of 'storeLocal(REFERENCE'
> 4. use aload instead
java.base should provide best practices for Class File API
1. Use fluent coding style
2. Use aconst_null instead of oadConstant(null)
3. use astore intead of 'storeLocal(REFERENCE'
4. use aload instead of 'loadLocal(REFERENCE'
5. 'lload/lstore' instead of 'loadLocal(LONG)/storeLocal(LONG)'
--
> A very small optimization, split the large method inflate, split the
> infrequently used paths into a method inflateCHAR
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
Update
src/java.base/share/classes/jdk/internal/cla
On Fri, 4 Oct 2024 14:12:16 GMT, fabioromano1 wrote:
>> An optimized algorithm for `BigDecimal.stripTrailingZeros()` that uses
>> repeated squares trick.
>
> fabioromano1 has updated the pull request incrementally with two additional
> commits since the last revision:
>
> - Merge branch 'patc
On Wed, 25 Sep 2024 01:10:04 GMT, Shaojin Wen wrote:
>> A very small optimization, split the large method inflate, split the
>> infrequently used paths into a method inflateCHAR
>
> Shaojin Wen has updated the pull request with a new target base due to a
> merge or a reb
ed from 277 to 262
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
Update
src/java.base/share/classes/java/lang/classfile/attribute/EnclosingMethodAttribute.java
Co-authored-by: ExE Boss <3889017+exe-b...@use
> Reduce code size by combining calls and defining local variables
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The pull request now contains 13 commits:
- reduce codeSize
- reduce codeSize
- decStack & stackUnderflow
- fix merge error
On Fri, 4 Oct 2024 04:59:04 GMT, Chen Liang wrote:
>> A small optimization to reduce CodeSize, codeSize reduced from 164 to 140.
>>
>> 1. Use local currentFrame to avoid multiple getfields
>> 2. Use decStack instead of popStack to reduce array access in popStack
>> 3. Call Util.fieldTypeSymbol t
A small optimization for StackMapGenerator::processInvokeInstructions.
1. Use local currentFrame to avoid multiple getfields
2. remove Util.methodTypeSymbol(NameAndTypeEntry)
3. Use decStack instead of popStack to reduce array access in popStack
4. codeSize reduced from 277 to 262
-
A small optimization to reduce CodeSize, codeSize reduced from 164 to 140.
1. Use local currentFrame to avoid multiple getfields
2. Use decStack instead of popStack to reduce array access in popStack
3. Call Util.fieldTypeSymbol to pass in type instead of nameAndType
-
Commit message
implementation of load and store
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
Update
src/java.base/share/classes/jdk/internal/classfile/impl/AttributeHolder.java
Co-authored-by: Chen Liang
-
Changes:
- all: https
On Wed, 25 Sep 2024 12:05:02 GMT, Shaojin Wen wrote:
> 1. Construct Frames directly without BitSet
> 2. Use Frame[] instead of ArrayList
> 3. Use EMPTY_FRAME_ARRAY for initialization. No need to allocate objects when
> there is no frame.
This pull request has now been integrated
> 1. Construct Frames directly without BitSet
> 2. Use Frame[] instead of ArrayList
> 3. Use EMPTY_FRAME_ARRAY for initialization. No need to allocate objects when
> there is no frame.
Shaojin Wen has updated the pull request incrementally with one additional
commit since the l
On Wed, 2 Oct 2024 07:53:44 GMT, Shaojin Wen wrote:
> A small optimization to the RawBytecodeHelper::next method
> * Remove `len <= 0` once
> * merge store opcode and isWide
This pull request has now been integrated.
Changeset: d7f32d89
Author: Shaojin Wen
URL:
On Wed, 2 Oct 2024 13:28:24 GMT, Shaojin Wen wrote:
>> src/java.base/share/classes/jdk/internal/classfile/impl/RawBytecodeHelper.java
>> line 350:
>>
>>> 348: */
>>> 349: public boolean isWide() {
>>> 350: return (
On Wed, 2 Oct 2024 11:09:52 GMT, ExE Boss wrote:
>> A small optimization to the RawBytecodeHelper::next method
>> * Remove `len <= 0` once
>> * merge store opcode and isWide
>
> src/java.base/share/classes/jdk/internal/classfile/impl/RawBytecodeHelper.java
> line 350:
>
>> 348: */
>> 349:
A small optimization to the RawBytecodeHelper::next method
* Remove `len <= 0` once
* merge store opcode and isWide
-
Commit messages:
- merge store opcode & isWide
- optimize RawBytecodeHelper::next
Changes: https://git.openjdk.org/jdk/pull/21300/files
Webrev: https://webrevs.op
implementation of load and store
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
fix merge error
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21243/files
- new: https://git.openjdk.org/jdk/pull/21243/files/6dfa07ed.
implementation of load and store
Shaojin Wen has updated the pull request with a new target base due to a merge
or a rebase. The pull request now contains 77 commits:
- Merge branch 'master' into optim_direct_code_builder_202409
- optimize DirectClassBuilder::build
- writeU2U2U2
-
implementation of load and store
Shaojin Wen has updated the pull request incrementally with two additional
commits since the last revision:
- optimize DirectClassBuilder::build
- writeU2U2U2
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21243/files
- new: https://git.op
implementation of load and store
Shaojin Wen has updated the pull request incrementally with one additional
commit since the last revision:
optimization for powerOctal
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21243/files
- new: https://git.openjdk.org/jdk/pull/21
implementation of load and store
Shaojin Wen has updated the pull request incrementally with two additional
commits since the last revision:
- label write clean
- optimizer for codeSize
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21243/files
- new: https://git.openjdk.
implementation of load and store
Shaojin Wen has updated the pull request incrementally with two additional
commits since the last revision:
- optimize MethodTypeDescImpl::descriptorString
- Remove redundant requireNonNull
-
Changes:
- all: https://git.openjdk.org/jdk/pull/21243/fi
1 - 100 of 769 matches
Mail list logo