Sampling CPU and HEAP profiler for Java featuring AsyncGetCallTrace + perf_events
This report summarizes scanner evidence for async-profiler/async-profiler, a C++ project with 9,181 GitHub stars. SynthScan examined 53,837 lines of code across 366 source files, recording 62 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 1.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 62 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 12 finding(s).
Which changes need focused human review? 62 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 62 distinct pattern matches across 2 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/native/testRunner.hpp | 101 | } \ | COMMENT |
| LOW | test/test/nonjava/non_java_app.cpp | 1 | /* | COMMENT |
| LOW | test/test/nativemem/profile_with_dlopen.c | 1 | /* | COMMENT |
| LOW | .assets/html/flamegraph.html | 21 | dl.hotkeys > dt {float: left; clear: left; width: 158px; margin-right: 4px; text-align: right} | COMMENT |
| LOW | src/ctimer_linux.cpp | 1 | /* | COMMENT |
| LOW | src/instrument.cpp | 1 | /* | COMMENT |
| LOW | src/stackFrame_x64.cpp | 141 | // JDK 17+ | COMMENT |
| LOW | src/symbols_linux.cpp | 1 | /* | COMMENT |
| LOW | src/symbols_linux.cpp | 21 | #include <link.h> | COMMENT |
| LOW | src/symbols_linux.cpp | 181 | # define R_ABS64 R_X86_64_64 | COMMENT |
| LOW | src/asprof.h | 1 | /* | COMMENT |
| LOW | src/asprof.h | 41 | // This API is UNSTABLE and might change or be removed in the next version of async-profiler. | COMMENT |
| LOW | src/asprof.h | 61 | // | COMMENT |
| LOW | src/asprof.h | 81 | COMMENT | |
| LOW | src/arguments.cpp | 1 | /* | COMMENT |
| LOW | src/profiler.cpp | 1 | /* | COMMENT |
| LOW | src/profiler.cpp | 21 | #include "mallocTracer.h" | COMMENT |
| LOW | src/rustDemangle.h | 41 | // Contains the part after the mangled name that is to be outputted, | COMMENT |
| LOW | src/rustDemangle.h | 61 | /// This function is `O(n)` in the length of the input + *output* [$], but the demangled output of demangling a symbol c | COMMENT |
| LOW | src/mallocTracer.cpp | 1 | /* | COMMENT |
| LOW | src/wallClock.cpp | 1 | /* | COMMENT |
| LOW | src/os_linux.cpp | 1 | /* | COMMENT |
| LOW | src/os_linux.cpp | 21 | #include <sys/sendfile.h> | COMMENT |
| LOW | src/safeAccess.cpp | 1 | /* | COMMENT |
| LOW | src/perfEvents_linux.cpp | 1 | /* | COMMENT |
| LOW | src/perfEvents_linux.cpp | 21 | #include <sys/syscall.h> | COMMENT |
| LOW | src/os_macos.cpp | 1 | /* | COMMENT |
| LOW | src/stackFrame_aarch64.cpp | 1 | /* | COMMENT |
| LOW | src/stackFrame_aarch64.cpp | 181 | // Check if there is such an instruction anywhere between | COMMENT |
| LOW | src/stackFrame_aarch64.cpp | 221 | pc = ((uintptr_t*)sp)[-1]; | COMMENT |
| LOW | src/stackFrame_aarch64.cpp | 241 | // | COMMENT |
| LOW | src/rustDemangle.cpp | 1 | /* | COMMENT |
| LOW | src/j9StackTraces.cpp | 1 | /* | COMMENT |
| LOW | src/symbols_macos.cpp | 1 | /* | COMMENT |
| LOW | src/flightRecorder.cpp | 1 | /* | COMMENT |
| LOW | src/flightRecorder.cpp | 21 | #include "jfrMetadata.h" | COMMENT |
| LOW | src/hooks.cpp | 1 | /* | COMMENT |
| LOW | src/frameName.h | 1 | /* | COMMENT |
| LOW | src/profiler.h | 1 | /* | COMMENT |
| LOW | src/vmEntry.cpp | 1 | /* | COMMENT |
| LOW | src/fdtransferClient_linux.cpp | 1 | /* | COMMENT |
| LOW | src/arch.h | 1 | /* | COMMENT |
| LOW | src/arch.h | 181 | #endif | COMMENT |
| LOW | src/res/flame.html | 21 | dl.hotkeys > dt {float: left; clear: left; width: 158px; margin-right: 4px; text-align: right} | COMMENT |
| LOW | src/jattach/jattach_hotspot.c | 1 | /* | COMMENT |
| LOW | src/jattach/psutil.c | 1 | /* | COMMENT |
| LOW | src/jattach/jattach_openj9.c | 1 | /* | COMMENT |
| LOW | src/jattach/psutil.h | 21 | void get_tmp_path(int pid); | COMMENT |
| LOW | src/main/fdtransferServer_linux.cpp | 1 | /* | COMMENT |
| LOW | src/main/main.cpp | 1 | /* | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/res/heatmap.html | 1978 | function prepareFramesReversedDiff(from, to, baseFrom, baseTo) { | CODE |
| LOW | src/res/heatmap.html | 2513 | function prepareTheOnlyChunksReversed(ctx) { | CODE |
| LOW | src/res/heatmap.html | 2584 | function prepareBaseTheOnlyChunksReversed(ctx) { | CODE |
| LOW | src/res/heatmap.html | 2767 | function prepareDirectSamplesReversed(ctx) { | CODE |
| LOW | src/res/heatmap.html | 2812 | function prepareDirectSamplesReversedDiff(ctx) { | CODE |
| LOW | src/res/heatmap.html | 2895 | function prepareBaseDirectSamplesReversed(ctx) { | CODE |
| LOW | src/res/heatmap.html | 3090 | function splitTheOnlyChunksReversed(ctx) { | CODE |
| LOW | src/res/heatmap.html | 3148 | function splitBaseTheOnlyChunksReversed(ctx) { | CODE |
| LOW | src/res/heatmap.html | 3329 | function splitDirectSamplesReversed(ctx) { | CODE |
| LOW | src/res/heatmap.html | 3374 | function splitDirectSamplesReversedDiff(ctx) { | CODE |
| LOW | src/res/heatmap.html | 3474 | function splitBaseDirectSamplesReversed(ctx) { | CODE |
| LOW | src/res/heatmap.html | 3548 | function cleanupMethodBuffersReversed(ctx) { | CODE |