Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add glob functionality to TR_DisableIntrinsics #18923

Open
jmesyou opened this issue Feb 8, 2024 · 0 comments
Open

Add glob functionality to TR_DisableIntrinsics #18923

jmesyou opened this issue Feb 8, 2024 · 0 comments
Labels

Comments

@jmesyou
Copy link
Contributor

jmesyou commented Feb 8, 2024

TR_DisableIntrinsics is an umbrella option implemented to capture both the TR_DisableMarshallingIntrinsics and TR_DisablePackedDecimalIntrinsics option. Given the pervasiveness of intrinsics implemented in the JIT compiler today and the discussion in #18794, the option to disable intrinsics by name/glob would be desirable.

For example the following option should be possible to disable all @IntrinsicCandidate methods in the jdk.internal.misc.Unsafe class:
disableIntrinsics=jdk/internal/misc/Unsafe/*

This would simultaneously simplify the implementations of TR_DisableMarshallingIntrinsics and TR_DisablePackedDecimalIntrinsics as they could each be expressed as a glob of TR_DisableIntrinsics

@jmesyou jmesyou added the design label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant