> Most of AOT code and CDS methods use `NOT_CDS_RETURN*` to handle case when > CDS is not included into VM build. > We don't need `#if INCLUDE_CDS` to guard code which use such methods - C++ > compiler should fold code anyway. > > I added a few `NOT_CDS_RETURN*` to allow the removal of more `INCLUDE_CDS`. > And I moved `entry` checks from `find_aot_code_entry()` in > `compilationPolicy.cpp` to `AOTCodeCache::find_code_entry()` > > Testied: tier1-3,hs-comp-stress,hs-aot-stress, build without CDS > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Vladimir Kozlov has updated the pull request incrementally with one additional commit since the last revision: Undo mov_metadata() change ------------- Changes: - all: https://git.openjdk.org/jdk/pull/33951/files - new: https://git.openjdk.org/jdk/pull/33951/files/8c31a6ca..f63a9f2e Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=33951&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33951&range=00-01 Stats: 10 lines in 2 files changed: 8 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/33951.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/33951/head:pull/33951 PR: https://git.openjdk.org/jdk/pull/33951
