Integrated: 8345955: Deprecate the UseOprofile flag with a view to removing the legacy oprofile support in the VM
David Holmes
dholmes at openjdk.org
Thu Dec 12 07:56:45 UTC 2024
On Wed, 11 Dec 2024 00:35:22 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Please review this simple change to deprecate the `UseOprofile` flag in JDK 25, with a view to obsoleting it in JDK 26.
>
> The VM has supported the Linux OProfile profiler since 2005, however to work properly with OProfile's Linux kernel module (ref lookup_dcookie()), the VM has to change the way compiled code memory is mapped. That is done under the control of the UseOprofile flag (default false). Since 2012 OProfile has not needed the kernel module, and it was removed from the kernel in 2021. Consequently this special code and the UseOprofile flag are not needed.
>
> Could I also get a Reviewer for the CSR request please.
>
> Testing: tiers 1-3 (sanity)
>
> Thanks
This pull request has now been integrated.
Changeset: ceb4366e
Author: David Holmes <dholmes at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ceb4366ebf02f64165acc4a23195e9e3a7398a5c
Stats: 9 lines in 3 files changed: 8 ins; 0 del; 1 mod
8345955: Deprecate the UseOprofile flag with a view to removing the legacy oprofile support in the VM
Reviewed-by: iklam, shade
-------------
PR: https://git.openjdk.org/jdk/pull/22674
More information about the hotspot-runtime-dev
mailing list