[lilliput-jdk17u:lilliput] RFR: 8310427: [Lilliput/JDK17] Protect from running broken JFR and JVMTI code with compact headers [v2]

Aleksey Shipilev shade at openjdk.org
Wed Jun 21 14:37:51 UTC 2023


> We have at least two things missing in 17u to make Lilliput safe: [JDK-8283710](https://bugs.openjdk.org/browse/JDK-8283710) and [JDK-8275415](https://bugs.openjdk.org/browse/JDK-8275415). Backporting those things is intrusive and could take a while. Meanwhile, we need to protect user code from entering those paths when compact headers are enabled.
> 
> Additional testing:
>  - [x] Linux x86_64 fastdebug, `jdk/jfr`, `UCOH` disabled by default; some pre-existing failures
>  - [x] Linux x86_64 fastdebug, `jdk/jfr`, `+UCOH`
>  - [x] Linux x86_64 fastdebug `serviceability/jvmti`, `UCOH` disabled by default
>  - [x] Linux x86_64 fastdebug `serviceability/jvmti`, `+UCOH`
>  - [x] Linux x86_64 fastdebug `vmTestbase/nsk/jvmti`, `UCOH` disabled by default
>  - [x] Linux x86_64 fastdebug `vmTestbase/nsk/jvmti`, `+UCOH`

Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:

  Use other bug IDs

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

Changes:
  - all: https://git.openjdk.org/lilliput-jdk17u/pull/35/files
  - new: https://git.openjdk.org/lilliput-jdk17u/pull/35/files/e86001da..cc4f0bde

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=35&range=01
 - incr: https://webrevs.openjdk.org/?repo=lilliput-jdk17u&pr=35&range=00-01

  Stats: 52 lines in 1 file changed: 0 ins; 0 del; 52 mod
  Patch: https://git.openjdk.org/lilliput-jdk17u/pull/35.diff
  Fetch: git fetch https://git.openjdk.org/lilliput-jdk17u.git pull/35/head:pull/35

PR: https://git.openjdk.org/lilliput-jdk17u/pull/35


More information about the lilliput-dev mailing list