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 — Fix vtable test failures on JDK 27 by apangin · Pull Request #1765 · async-profiler/async-profiler

Conversation

@apangin

@apangin apangin commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Description

VtableTests.vtableStubs and VtableTests.itableStubs failed on JDK 27-ea.

JDK 27 removed the UseCompressedClassPointers flag in JDK-8363996; class pointers are now always compressed, and oopDesc's _metadata._klass union was replaced with a _compressed_klass field.

Async-profiled failed to find oopDesc::_metadata._klass field, so _oop_klass_offset stayed -1. As a result, VMKlass::fromOop() dereferenced garbage at oop - 1.

How has this been tested?

JAVA_HOME=/path/to/jdk-27 make test

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@apangin
Fix vtable test failures on JDK 27
e7a6999
@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown

linux-x64

File Base (KiB) Treatment (KiB) Delta (KiB) % Change
bin/asprof 81.72 81.72 +0.00 +0.00%
bin/jfrconv 136.40 136.40 +0.00 +0.00%
lib/libasyncProfiler.so 587.70 587.77 +0.07 +0.01%

linux-arm64

File Base (KiB) Treatment (KiB) Delta (KiB) % Change
bin/asprof 89.59 89.59 +0.00 +0.00%
bin/jfrconv 136.40 136.40 +0.00 +0.00%
lib/libasyncProfiler.so 610.06 606.05 -4.01 -0.66%

macos

File Base (KiB) Treatment (KiB) Delta (KiB) % Change
bin/asprof 116.74 116.74 +0.00 +0.00%
bin/jfrconv 136.40 136.40 +0.00 +0.00%
lib/libasyncProfiler.dylib 984.45 984.49 +0.05 +0.00%
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@apangin
apangin merged commit 5026f38 into master Jul 13, 2026
74 of 76 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@apangin
apangin deleted the jdk27 branch July 13, 2026 13:33
@github-actions github-actions Bot mentioned this pull request Jul 14, 2026
Upstream async-profiler changes detected (2026-07-14) DataDog/java-profiler#657
Open
@dongjoon-hyun dongjoon-hyun mentioned this pull request Jul 27, 2026
[SPARK-58375][BUILD] Upgrade ap-loader to 4.5-13 apache/spark#57570
Closed
dongjoon-hyun added a commit to apache/spark that referenced this pull request Jul 28, 2026
@dongjoon-hyun
[SPARK-58375][BUILD] Upgrade ap-loader to 4.5-13
37ca0a9
### What changes were proposed in this pull request?

This PR aims to upgrade `ap-loader` dependency to 4.5-13 for Apache Spark 5.

### Why are the changes needed?

To bring the latest bug fixes and improvements from `ap-loader`.

- https://github.com/jvm-profiling-tools/ap-loader/releases/tag/4.5-13 (2026-07-21)
  - https://github.com/async-profiler/async-profiler/releases/tag/v4.5
    - async-profiler/async-profiler#1765: JDK 27 support
    - async-profiler/async-profiler#1755: Span API for latency profiling
    - async-profiler/async-profiler#1406: Long time-to-safepoint pause when attaching asprof
    - async-profiler/async-profiler#1756: Runtime attach fails on JVMs with many native libraries
  - https://github.com/async-profiler/async-profiler/releases/tag/v4.4
    - async-profiler/async-profiler#1553: Differential Flame Graphs
    - async-profiler/async-profiler#1705: `memlimit` option to limit size of the call trace storage
    - async-profiler/async-profiler#1715: Fix Zing crash when profiling cpu+wall together

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Pass the CIs.

### Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Fable 5

Closes #57570 from dongjoon-hyun/SPARK-58375.

Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
@rschmukler rschmukler mentioned this pull request Aug 5, 2026
Update vendor binaries to 4.5 clojure-goes-fast/clj-async-profiler#47
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@apangin
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.