[jdk17u-dev] RFR: 8284578: Relax InterpreterCodelet stub alignment [v5]

Dmitry Chuyko dchuyko at openjdk.org
Thu Nov 10 15:45:58 UTC 2022


> This change improves density of interpreter codelets. I have no intent to backport JDK-8281467 [1] (Allow larger OptoLoopAlignment and CodeEntryAlignment), entire JDK-8283298 [2] (productize CodeCacheSegmentSize) and its related change in stubRoutines.cpp JDK-8282355 [3].
> 
> However I suppose that Modification of MethodHandles::generate_adapters() from JDK-8283298 which makes blob size more accurate is related to this fix, so I included it here. JDK-8283298 modifications of TemplateInterpreter::initialize_stub() are overwritten by the changes from the original JDK-8284578 patch.
> 
> So this patch consists of
> - Original JDK-8284578 altered to be applicable without JDK-8283298 and JDK-8264207 [4] (can be backported afterwards).
> - MethodHandles::generate_adapters() and copyrights from JDK-8283298.
> 
> Testing: tier1, tier2 on x86 and aarch64 (release)
> 
> [0] https://bugs.openjdk.org/browse/JDK-8284578
> [1] https://bugs.openjdk.org/browse/JDK-8281467
> [2] https://bugs.openjdk.org/browse/JDK-8283298
> [3] https://bugs.openjdk.org/browse/JDK-8282355
> [4] https://bugs.openjdk.org/browse/JDK-8264207

Dmitry Chuyko 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 three additional commits since the last revision:

 - Merge branch 'openjdk:master' into JDK-8284578
 - Merge branch 'openjdk:master' into JDK-8284578
 - Backport 2241a057050ed521cfbfbe8a758353e621dee15f

-------------

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/753/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/753/files/1a5f0047..04b6b21a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=753&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=753&range=03-04

  Stats: 3083 lines in 91 files changed: 2052 ins; 353 del; 678 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/753.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/753/head:pull/753

PR: https://git.openjdk.org/jdk17u-dev/pull/753


More information about the jdk-updates-dev mailing list