git: openjdk/leyden: computed-constants: Implementation optimizations (#3)

duke duke at openjdk.org
Mon Dec 11 12:47:11 UTC 2023


Changeset: 3b5acc5d
Author:    liach <7806504+liach at users.noreply.github.com>
Committer: GitHub <noreply at github.com>
Date:      2023-12-11 06:44:49 +0000
URL:       https://git.openjdk.org/leyden/commit/3b5acc5d3a0c58ad508e7ab8c301a74c4943295a

Implementation optimizations (#3)

1. MH's Errors like OutOfMemoryError should be propagated
2. List CC can use CAE instead of CAS+getVolatile

Co-authored-by: liach <liach at users.noreply.github.com>

! src/java.base/share/classes/jdk/internal/constant/MethodHandleComputedConstant.java
! src/java.base/share/classes/jdk/internal/constant/OnDemandComputedConstantList.java



More information about the leyden-dev mailing list