GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Root the digest at the application and make it readable (#31) · jonoffcpu/jonoffcpu@0730ec9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • AGENTS.md
  • README.md
  • gradle
    • libs.versions.toml
  • jonoffcpu-correlator
    • OFFLINE.md
    • build.gradle.kts
    • src
      • integrationTest/java/io/github/jonoffcpu/correlator
        • ExportDuckDbTest.java
        • FixtureAcceptanceTest.java
      • main
        • java/io/github/jonoffcpu/correlator
          • AnalysisOutput.java
          • CaptureInput.java
          • Cli.java
          • CollapsedStacks.java
          • CorrelationEngine.java
          • Digest.java
          • JfrSnapshot.java
          • JfrTimeRange.java
          • OffCpuCorrelator.java
          • OffCpuReason.java
          • OfflineCorrelator.java
          • Presets.java
          • SignalJfrExporter.java
          • SourceColumns.java
          • StackProfileRenderer.java
          • StackTransforms.java
          • Top.java
        • proto
          • jonoffcpu-analysis.proto
          • jonoffcpu-profile.proto
          • jonoffcpu-report.proto
          • jonoffcpu-signals.proto
        • resources/io/github/jonoffcpu/correlator/presets
          • jvm-dispatch.txt
          • jvm-infra.txt
          • jvm-wait-machinery.txt
          • jvm-waiting.txt
      • testFixtures/java/io/github/jonoffcpu/correlator
        • CommandLineFixture.java
        • CorrelationFixture.java
      • test
        • java/io/github/jonoffcpu/correlator
          • CommandLineTest.java
          • DigestTest.java
          • ExportTest.java
          • PartialCorrelatorTest.java
          • PresetsTest.java
          • StackProfileTest.java
          • StackTransformsTest.java
          • TopTest.java
        • resources
          • digest
            • application.md
            • plain.md
          • help
            • correlate.txt
            • dump.txt
            • jonoffcpu-correlator.txt
            • stacks.txt
            • summarize.txt
            • top.txt
  • jonoffcpu-native/tools
    • run-agent-signal-pressure.py

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎AGENTS.md‎

Copy file name to clipboardExpand all lines: AGENTS.md
+6-2Lines changed: 6 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,12 @@ and exact-cookie matches rather than only checking process exit status.
234234
reads inputs through providers or value sources. Check a build change with
235235
`--configuration-cache-problems=warn` and by running it twice: the second run
236236
must say `Reusing configuration cache`.
237-
- Keep public configuration, manifest, capture stream, report, and CLI changes backward
238-
compatible unless a format/version migration is designed and documented.
237+
- From the 1.0.0 release on, keep public configuration, manifest, capture stream,
238+
report, analysis output (stack profile, digest, `top`, `export`) and CLI changes
239+
backward compatible unless a format/version migration is designed and
240+
documented. Until then there is no compatibility to keep: change a format or
241+
option outright, and remove old schemas, aliases and fallbacks rather than
242+
carrying them.
239243
- Use supported public JDK JFR APIs in the correlator. Do not depend on
240244
`jdk.jfr.internal.*` implementation classes.
241245
- CI and releases share [`.github/workflows/build-and-verify.yml`](.github/workflows/build-and-verify.yml).
Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+99-50Lines changed: 99 additions & 50 deletions
  • Display the source diff
  • Display the rich diff
Large diffs are not rendered by default.
Collapse file

‎gradle/libs.versions.toml‎

Copy file name to clipboardExpand all lines: gradle/libs.versions.toml
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Every library and plugin version of the build, declared once.
22
[versions]
3+
commonmark = "0.30.0"
34
protobuf = "4.36.1"
45
junit = "6.1.3"
56

@@ -13,6 +14,10 @@ snakeyaml = "org.yaml:snakeyaml:2.7"
1314

1415
# Test libraries. JUnit and Testcontainers are aligned by their BOMs, which every test suite imports as platforms.
1516
assertj-core = "org.assertj:assertj-core:3.27.7"
17+
# The Markdown renderer the Apache Pulsar launcher turns the digest into HTML with, for the digest's rendering tests.
18+
commonmark = { module = "org.commonmark:commonmark", version.ref = "commonmark" }
19+
commonmark-ext-gfm-tables = { module = "org.commonmark:commonmark-ext-gfm-tables", version.ref = "commonmark" }
20+
commonmark-ext-heading-anchor = { module = "org.commonmark:commonmark-ext-heading-anchor", version.ref = "commonmark" }
1621
awaitility = "org.awaitility:awaitility:4.3.0"
1722
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
1823
junit-platform-console = { module = "org.junit.platform:junit-platform-console" }
Collapse file

‎jonoffcpu-correlator/OFFLINE.md‎

Copy file name to clipboardExpand all lines: jonoffcpu-correlator/OFFLINE.md
+189-64Lines changed: 189 additions & 64 deletions
  • Display the source diff
  • Display the rich diff
Large diffs are not rendered by default.
Collapse file

‎jonoffcpu-correlator/build.gradle.kts‎

Copy file name to clipboardExpand all lines: jonoffcpu-correlator/build.gradle.kts
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ tasks.withType<Test>().configureEach {
102102
)
103103
}
104104

105+
testing.suites.named<JvmTestSuite>("test") {
106+
dependencies {
107+
implementation(libs.commonmark)
108+
implementation(libs.commonmark.ext.gfm.tables)
109+
implementation(libs.commonmark.ext.heading.anchor)
110+
}
111+
}
112+
105113
tasks.test {
106114
maxHeapSize = "1g"
107115
(options as JUnitPlatformOptions).excludeTags("readme")
Collapse file

‎jonoffcpu-correlator/src/integrationTest/java/io/github/jonoffcpu/correlator/ExportDuckDbTest.java‎

Copy file name to clipboardExpand all lines: jonoffcpu-correlator/src/integrationTest/java/io/github/jonoffcpu/correlator/ExportDuckDbTest.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void readByDuckDb(@TempDir Path dir) throws Exception {
7272
0),
7373
new StackProfile.Entry(
7474
List.of(
75-
frame(StackProfile.Kind.JAVA, "y.Idle.run"),
75+
frame(StackProfile.Kind.JAVA, "y.Waiting.run"),
7676
frame(StackProfile.Kind.JAVA, "x.App.wait")),
7777
null,
7878
null,
Collapse file

‎jonoffcpu-correlator/src/integrationTest/java/io/github/jonoffcpu/correlator/FixtureAcceptanceTest.java‎

Copy file name to clipboardExpand all lines: jonoffcpu-correlator/src/integrationTest/java/io/github/jonoffcpu/correlator/FixtureAcceptanceTest.java
+275-36Lines changed: 275 additions & 36 deletions
Large diffs are not rendered by default.
Collapse file

‎jonoffcpu-correlator/src/main/java/io/github/jonoffcpu/correlator/AnalysisOutput.java‎

Copy file name to clipboardExpand all lines: jonoffcpu-correlator/src/main/java/io/github/jonoffcpu/correlator/AnalysisOutput.java
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ interface AnalysisOutput {
5959

6060
ReportProto.JfrSelection jfrSelection();
6161

62+
/** The process and machine the JFR describes, with every detail; null when the JFR pass did not produce one. */
63+
SignalProto.JfrRecording recording();
64+
6265
ReportProto.PopulationEstimate populationEstimate();
6366

6467
/** Every matched pair's delivery delay, ascending, for the report's percentiles. */
@@ -194,6 +197,11 @@ public ReportProto.JfrSelection jfrSelection() {
194197
return analysis.jfrSelection();
195198
}
196199

200+
@Override
201+
public SignalProto.JfrRecording recording() {
202+
return analysis.recording();
203+
}
204+
197205
@Override
198206
public ReportProto.PopulationEstimate populationEstimate() {
199207
return analysis.populationEstimate();
@@ -349,6 +357,11 @@ public ReportProto.JfrSelection jfrSelection() {
349357
return result.selectionMetadata();
350358
}
351359

360+
@Override
361+
public SignalProto.JfrRecording recording() {
362+
return result.capture().recording;
363+
}
364+
352365
@Override
353366
public ReportProto.PopulationEstimate populationEstimate() {
354367
return result.populationEstimate();
Collapse file

‎jonoffcpu-correlator/src/main/java/io/github/jonoffcpu/correlator/CaptureInput.java‎

Copy file name to clipboardExpand all lines: jonoffcpu-correlator/src/main/java/io/github/jonoffcpu/correlator/CaptureInput.java
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ final class CaptureInput {
3939
final boolean partial;
4040
/** What partial mode reports about the prefix; the engine adds what it observes in the JFR. */
4141
final ReportProto.PartialReport.Builder diagnostics;
42+
/** The process and machine the JFR describes, set by the JFR pass; null until then, and in partial mode. */
43+
SignalProto.JfrRecording recording;
4244

4345
private CaptureInput(
4446
CaptureProto.CaptureStart start,

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.