[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 17:42:28 UTC 2023


On Wed, 21 Jun 2023 14:37:51 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`
>
> Aleksey Shipilev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Use other bug IDs

Testing looks clean.

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

PR Comment: https://git.openjdk.org/lilliput-jdk17u/pull/35#issuecomment-1601301378


More information about the lilliput-dev mailing list