Reject synchronization on primitive wrappers#5338
Merged
Merged
Conversation
Contributor
✅ Continuous Quality ReportTest & Coverage
Static Analysis
Generated automatically by the PR CI workflow. |
Collaborator
Author
|
Compared 142 screenshots: 142 matched. Native Android coverage
✅ Native Android screenshot tests passed. Native Android coverage
Benchmark ResultsDetailed Performance Metrics
|
Collaborator
Author
|
Compared 133 screenshots: 133 matched. |
Collaborator
Author
|
Compared 140 screenshots: 140 matched. Benchmark Results
Detailed Performance Metrics
|
Collaborator
Author
|
Compared 138 screenshots: 138 matched. |
Collaborator
Author
|
Compared 216 screenshots: 216 matched. |
Collaborator
Author
|
Compared 140 screenshots: 140 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
Collaborator
Author
|
Compared 137 screenshots: 137 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
shai-almog
added a commit
that referenced
this pull request
Jul 10, 2026
…posts (#5357) * Release week 2026-07-10 blog series: ParparVM vs HotSpot + 3 feature posts Parent post (Fri): "How We Beat HotSpot Performance (By Cheating, But Not Like That)" -- the PR #5327 performance story from 4.21x slower than warmed Java 25 to geomean 1.00x parity, with the GC/tagged-Integer deep dives and the PR #5338 synchronized-on-wrapper build check. Daily posts: standalone certificate wizard (PR #5339, Sat), AR/VR support and simulation (PR #5335, Sun), automated store submissions as code incl. Huawei AppGallery plus organization accounts and self-service account deletion (PR #5353, Mon). Includes 1024x512 hero images, post screenshots, and VM/performance vocabulary for the LanguageTool blog accept-list. Prose gate passes; all mermaid diagrams verified against the site's mermaid@10 loader. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Blog series: Oxford commas + numeral percentage for the Vale gate CI runs Vale's Microsoft.OxfordComma and Microsoft.Percentages rules that the local styles cache was missing. Sweep every serial list in the four posts and switch "Ninety percent" to "90%". Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * Restructure the HotSpot post around architecture Founder feedback pass: add the memory story (table + chart, standalone ParparVM benchmark note, Java 25 AOT fairness note), explain the HotSpot big-block heap vs our malloc/free philosophy and the BiBOP page heap, tease the twists up top, drop the bug-anecdote sections and the warmup/ GraalVM/what-I-got-wrong filler, rework "Going Deeper" around the readable one-file-per-class tradeoff, add a TL;DR, and close on the two-big-PRs slow-week note. Charts split into two clean single-series xycharts (render-verified on mermaid@10 and mermaid.ink for syndication). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
MONITORENTERon primitive wrapper values.Integer.valueOf(...)synchronization and allowing dedicatedObjectlocks.Rationale
Primitive wrappers are being treated as identity-free values for upcoming Valhalla-aligned semantics. Instead of preserving runtime monitor behavior for wrapper values, the Maven compliance verifier now flags unsupported synchronization at build time and points users toward a dedicated lock object.
Validation
mvn -pl codenameone-maven-plugin -Dtest=BytecodeComplianceMojoTest testgit diff --check