Skip to content

implement endpoint profiling for JDKs which don't have JFR#5251

Merged
richardstartin merged 1 commit intomasterfrom
rgs/j9-endpoint-profiling
May 24, 2023
Merged

implement endpoint profiling for JDKs which don't have JFR#5251
richardstartin merged 1 commit intomasterfrom
rgs/j9-endpoint-profiling

Conversation

@richardstartin
Copy link
Contributor

What Does This Do

Implements and registers an EndpointCheckpointer which doesn't use JFR to record the endpoint events required for endpoint profiling to work. This means endpoint profiling can be used on non-OpenJDK JVMs such as J9. This is simple glue code for a component which is well tested across a range of architectures/libc/JDK distributions in the java-profiler repository, so no new tests beyond the existing smoke tests are added.

Motivation

Additional Notes

@richardstartin richardstartin requested review from a team as code owners May 23, 2023 18:34
@pr-commenter
Copy link

pr-commenter bot commented May 23, 2023

Benchmarks

Parameters

Baseline Candidate
commit 1.15.0-SNAPSHOT~35abc4775a 1.15.0-SNAPSHOT~fc154055ae
config baseline candidate
See matching parameters
Baseline Candidate
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 22 cases.

See unchanged results
scenario Δ mean execution_time
scenario:Startup-base-Agent unsure
[+0.001s; +0.066s] or [+0.014%; +0.723%]
scenario:Startup-base-Agent.start same
scenario:Startup-base-BytebuddyAgent same
scenario:Startup-base-GlobalTracer same
scenario:Startup-base-AppSec same
scenario:Startup-base-Remote Config same
scenario:Startup-base-Telemetry same
scenario:Startup-iast-Agent same
scenario:Startup-iast-Agent.start same
scenario:Startup-iast-BytebuddyAgent same
scenario:Startup-iast-GlobalTracer same
scenario:Startup-iast-AppSec same
scenario:Startup-iast-IAST same
scenario:Startup-iast-Remote Config same
scenario:Startup-iast-Telemetry same
scenario:Startup-waf-Agent same
scenario:Startup-waf-Agent.start same
scenario:Startup-waf-BytebuddyAgent same
scenario:Startup-waf-GlobalTracer same
scenario:Startup-waf-AppSec same
scenario:Startup-waf-Remote Config same
scenario:Startup-waf-Telemetry same

@richardstartin richardstartin merged commit 6a57eec into master May 24, 2023
@richardstartin richardstartin deleted the rgs/j9-endpoint-profiling branch May 24, 2023 09:02
@github-actions github-actions bot added this to the 1.15.0 milestone May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants