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

Aleksey Shipilev shade at openjdk.org
Wed Jun 21 17:42:29 UTC 2023


On Tue, 20 Jun 2023 15:42:30 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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`

This pull request has now been integrated.

Changeset: 626ff70c
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/lilliput-jdk17u/commit/626ff70ce5f63188d32f99c20d5806fff8db9a7d
Stats:     84 lines in 4 files changed: 80 ins; 0 del; 4 mod

8310427: [Lilliput/JDK17] Protect from running broken JFR and JVMTI code with compact headers

Reviewed-by: rkennke

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

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


More information about the lilliput-dev mailing list