Explore related resources

Find more information about the topics in this Learning Path:

Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I know Arm SPE is available to Perf before I start profiling?
Run the /sys/bus/event_source/devices check from the profiling instructions and confirm that it lists at least one SPE performance monitoring unit, usually arm_spe_0. If you get no output, follow the SPE enablement instructions and repeat the check before you run perf c2c record.
Which Java binaries should I use to compile and run the example?
Resolve the absolute path to the Java executable and derive the matching javac from the same Java Development Kit (JDK). Use the same terminal so that compiler and runtime versions stay consistent across steps.
What should I look for in the Perf C2C report to find the strongest candidate cache line?
Confirm that the report is sorted by Peer Snoop, then inspect the line with the largest absolute peer-snoop count. Look for accesses from two or more CPUs, repeated loads and stores at offsets within the line, and activity while left-writer and right-writer run. Treat the line as a candidate because Perf C2C alone can’t prove that its address belongs to BaselineCounters.
How do I confirm that @Contended padding is active?
Compile with the required package export, and run the padded mode and JOL with -XX:-RestrictContended. In the JOL output, verify that padding separates left and right into different contention groups. Keep -XX:-RestrictContended on every padded run because HotSpot otherwise ignores this application annotation.
What result should I expect when comparing baseline and padded modes?
Expect the padded mode to show lower absolute peer-hit counts and often a lower median worker-phase runtime than the baseline. Don’t expect the representative values to match your system. Collect several alternating pairs, compare their medians, and examine variability before you conclude that padding helped. Also weigh any runtime improvement against the larger object size.

Share

Tell others about this Learning Path.

Return to Servers and Cloud Computing