Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2125 commits
Select commit Hold shift + click to select a range
6761b57
8350872: [lworld] Field is flattened although -XX:-UseFieldFlattening…
fparain Feb 28, 2025
b22815a
8350961: [lworld] Some VarHandles tests fail when field flattening is…
liach Feb 28, 2025
ad75b32
8351037: [lworld] Crashing in CodeBlob::print_value_on()
Mar 3, 2025
7a1ff29
8343846: [lworld] implement spec changes to stack map tables
Mar 3, 2025
67d181d
8351217: [lworld] instance field initializers should be executed imme…
Mar 5, 2025
82a5d5d
8351432: [lworld] Update nsk/jvmti/GetObjectMonitorUsage/objmonusage0…
lmesnik Mar 10, 2025
0ab5494
8351483: [lworld] Field offset verification fails
fparain Mar 10, 2025
b021451
Merge jdk
Mar 11, 2025
b8b1fbc
8351006: [lworld] Refactor LoadNode::Identity of an InlineType into c…
Mar 11, 2025
103cff2
8351441: [lworld] ClassFile API support generating stack maps for str…
liach Mar 12, 2025
b37178a
8351550: [lworld] Some bootstrap methods/lambda factories fail with -…
fparain Mar 12, 2025
6488ace
8351951: [lworld] javac should issue an error if a strict instance fi…
Mar 13, 2025
a0b174f
8341767: [lworld] JIT support for nullable, atomic, flat arrays
TobiHartmann Mar 14, 2025
6c73f22
Adjustment and new API for VarHandles
fparain Mar 14, 2025
c394d17
8351979: Improve verification error messages for strict fields
Mar 17, 2025
eae2c52
8352613: [lworld] New Unsafe API for special array creation needed by…
fparain Mar 21, 2025
0f7cdf3
8351569: [lworld] Revisit atomic access modes in flat var handles
mcimadamore Mar 24, 2025
dd0b958
8350632: [lworld] Parse::array_store_check() assert introduced by 834…
chhagedorn Mar 26, 2025
ea8521d
8352892: [lworld] javac is issuing a compiler error for a method that…
Mar 26, 2025
ab99743
8353186: [lworld] Disable failing tests after JDK-8351569
chhagedorn Mar 28, 2025
daf7b09
8352727: [lworld] Remove or replace obsolete StressInlineTypeReturned…
chhagedorn Mar 31, 2025
66ee27a
8334484: [lworld] new translation strategy for instance field initial…
Apr 1, 2025
f662357
8353639: [lworld] IGV: Fix broken type info filter with TypeAryPtr::_…
chhagedorn Apr 3, 2025
71d0579
8353664: [lworld] missing code for fix for JDK-8334484
Apr 3, 2025
c55102a
8353212: [lworld] TestFlatArrayAliasesCardMark.java crashes when run …
TobiHartmann Apr 4, 2025
a8ad275
Merge jdk
Apr 4, 2025
293a9c4
8353746: [lworld] Remove the default value and @ImplictlyConstructibl…
fparain Apr 4, 2025
4f7decd
Remove last use of the default value
fparain Apr 4, 2025
a85d0a2
8353752: [lworld] Remove handcoded offsets of field offsets for boxin…
fparain Apr 4, 2025
0bbfece
8352647: [lworld] Remove larval InlineTypeNode in Unsafe intrinsics
Apr 7, 2025
f48c0f4
8336795: [lworld] JNI MonitorEnter doesn't return the right value whe…
fparain Apr 7, 2025
b5395e8
8353202: [lworld] TestArrays.java crashes with -XX:+UseNullableValueF…
TobiHartmann Apr 8, 2025
ea9789c
Merge jdk
Apr 9, 2025
15a064c
8348606: [lworld] Substitutability test may perform heap allocations
liach Apr 10, 2025
603ac0e
8353717: [lworld] Complete merge of 8350756
chhagedorn Apr 10, 2025
0e899b2
8341761: Update JNI methods to support new field and array layouts
fparain Apr 11, 2025
0f63f74
Merge jdk
Apr 14, 2025
2de3164
Merge jdk
Apr 15, 2025
6b476fa
8354852: [lworld] invalid interval when copying elements in arraycopy
fparain Apr 16, 2025
841c851
8350515: [lworld] CheckedType replaced by NullRestricted
Apr 17, 2025
b72d63c
8353195: [lworld] Several failures with -XX:+UseNullableValueFlattening
TobiHartmann Apr 22, 2025
937fb6a
8355295: [lworld] runtime/valhalla/inlinetypes/VolatileTest.java fail…
fparain Apr 22, 2025
4bd22a8
8354981: [lworld] Atomic flat stores need preceding CPUMemBar
Apr 23, 2025
cb47c37
8355076: [lworld] Incorrect declared_nonstatic_fields computation
Apr 23, 2025
ad591c5
8355317: [lworld] C2 Runtime load_unknown_inline should not return nu…
TobiHartmann Apr 23, 2025
e1280b3
8355299: [lworld] C2 compilation fails with "unexpected yanked node"
TobiHartmann Apr 24, 2025
4825d5f
8354322: [lworld] InlineKlass::collect_fields fails to look up flat f…
TobiHartmann Apr 25, 2025
02b8c1e
8354068: [lworld] Fold strict final fields more aggressively
Apr 28, 2025
537cdc4
8354728: [lworld] Langtools work to update strict implementation to l…
liach Apr 28, 2025
99de2e7
8355560: SetTag/GetTag should consider equal value objects as the sam…
Apr 30, 2025
714930e
8355397: [lworld] Parse::array_load fails with "array can't be flat" …
Apr 30, 2025
9ad7789
8356088: [lworld] dead methods in array code
fparain May 2, 2025
1163cc6
8354408: [lworld] compiler/types/TestSubTypeCheckUniqueSubclass.java …
May 5, 2025
c65b458
8356599: [lworld] C2 incorrectly folds array object klass load for at…
TobiHartmann May 9, 2025
cc76937
8348959: [lworld] compiler/c2/TestMergeStores.java fails IR verification
TobiHartmann May 12, 2025
6a6cf4f
8335256: [lworld] C2: Remove larval InlineTypeNode
May 12, 2025
3caea21
8357035: [lworld] ValueTagMapTest missing -XX:+UnlockDiagnosticVMOptions
May 15, 2025
d528f94
Merge jdk
May 16, 2025
768d0c7
8346466: [lworld] compiler/valhalla/inlinetypes/TestArrayCopyWithOops…
TobiHartmann May 16, 2025
9190eb6
8349630: [lworld] runtime/valhalla/inlinetypes/ValuePreloadTest.java …
TobiHartmann May 19, 2025
7739c43
8332886: [lworld] TestBasicFunctionality::test21 counts incorrectly
May 19, 2025
8f0e624
8356963: [lworld] MemNode::optimize_simple_memory_chain fails with "s…
May 20, 2025
70dacba
8357156: [lworld] ValueClass.newNullRestrictedAtomicArray and newNull…
TobiHartmann May 20, 2025
619da98
8357384: [lworld] AnnotationsTests.java fails if UseNullableValueFlat…
TobiHartmann May 21, 2025
fcf6425
8357410: [lworld] Disable UseAtomicValueFlattening in ObjectMethods u…
TobiHartmann May 21, 2025
8c53ea5
Merge jdk
May 21, 2025
79de8f4
8357054: [lworld] tools/javac/valhalla/value-objects/ test still usin…
liach May 21, 2025
889e158
8357454: [lworld] trivial: removed modules still named in LoadableDes…
May 21, 2025
90c987a
[lworld] Some more problem listing for JDK-8348972
TobiHartmann May 21, 2025
8580a4e
8357461: [lworld] TestFlatInArraysFolding.java fails with UseNullable…
TobiHartmann May 21, 2025
5fb6b8e
8343420: [lworld] compiler/gcbarriers/TestG1BarrierGeneration.java af…
dafedafe May 22, 2025
a47e9b4
8354366: [lworld] VirtualObjectDebugInfoTest fails after merging jdk-…
May 22, 2025
4479cf6
8357508: [lworld] build with CDS disabled is broken
fparain May 22, 2025
533d814
8355614: [lworld] SIGSEGV in InlineKlass::write_value_to_addr
TobiHartmann May 23, 2025
c42af86
8357617: [lworld] trivial: remove remaining references to "jdk.jdeps/…
May 23, 2025
5d31f4f
[lworld] Problem listing test until JDK-8357785 is fixed
TobiHartmann May 26, 2025
48c6505
[lworld] Disabling assert until JDK-8325632 is fixed
TobiHartmann May 26, 2025
be14683
8342488: [lworld] compiler/c2/irTests/scalarReplacement/ScalarReplace…
dafedafe May 27, 2025
64ee2e2
8357474: [lworld] Consolidate load/store flat inline types
Jun 3, 2025
fdac9ab
8353432: [lworld] Deoptimization needs to handle nullable, flat field…
Jun 4, 2025
d01aec3
8352068: [lworld] test StrictFinalInstanceFieldsTest.java needs to be…
Jun 4, 2025
c9a58a8
[lworld] Enable all flattening by default
TobiHartmann Jun 5, 2025
6a08148
8353180: [lworld] C2: Meeting two constant TypeAryPtr with different …
chhagedorn Jun 6, 2025
f4bd868
8349945: Implement strict static fields (proposed JVM feature)
Jun 10, 2025
658a8d2
8358777: [lworld] Allow explicit super invocation in canonical constr…
Jun 11, 2025
8984c62
8344532: [lworld] TestLWord.test88 IR mismatch after jdk-24+20
chhagedorn Jun 12, 2025
85392f6
8332814: [lworld] Loop strip mining verification fails with "nothing …
chhagedorn Jun 12, 2025
bcee145
8358093: [lworld] Crash when passing invalid constant pool index to e…
Jun 12, 2025
9c01e84
8331551: [lworld] compiler/gcbarriers/TestZGCUnrolling.java fails aft…
dafedafe Jun 16, 2025
cab7c4b
8359377: [lworld] Fix cp indexes in larval stackmaps in redefinition
coleenp Jun 16, 2025
81fbc41
8339481: [lworld] C2: Rename InlineTypeNode::IsInit to NotNull
marc-chevalier Jun 25, 2025
051283b
8360530: [lworld] CDS does not preload classes listed in the Loadable…
Jun 26, 2025
a565d8b
8359345: [lworld] C2 crashes with -XX:ForceNonTearable=*
TobiHartmann Jul 1, 2025
01af2b4
8336003: [lworld] TestLWorld::test151 triggers "Should have been buff…
Jul 2, 2025
ed13d1f
8329234: [lworld] compiler/gcbarriers/TestZGCBarrierElision.java fail…
dafedafe Jul 2, 2025
6541b8b
8346307: [lworld] Clarify identity vs value in Class, Objects, and do…
Jul 2, 2025
bdfe15a
8361302:
Jul 2, 2025
ed2a03e
8353182: [lworld] C2: Multiple IR test failures in compiler/gcbarrier…
dafedafe Jul 3, 2025
cbe19cd
8361218: [lworld] Remove LockingMode from test
coleenp Jul 3, 2025
28819b2
8361369: [lworld] Treating primitives as isValue() leads to vm crash
liach Jul 3, 2025
313d34a
8361390: [lworld] Assert during C2 compilation because EA does not pr…
TobiHartmann Jul 4, 2025
64ba13b
8361166: [lworld] TestG1BarrierGeneration still fails after JDK-8343420
dafedafe Jul 8, 2025
680efc4
8361250: [lworld] use more IRNode regexes in valhalla IR tests
marc-chevalier Jul 10, 2025
7e4c1bc
8361082: [lworld] RewriteBytecodesInlineTest fails with SIGSEGV
Jul 10, 2025
293e16d
8361465: [lworld] testlibrary_tests/ir_framework/tests/TestPhaseIRMat…
marc-chevalier Jul 15, 2025
64fe6c1
8361496: [lworld] Treating interfaces as isValue() leads to failed as…
liach Jul 18, 2025
d1c3062
8349110: [lworld] Intrinsics for Unsafe.get/putFlatValue
Jul 22, 2025
1fdd381
8363956: [lworld] Valhalla vauetypes tests enablePreview should be pe…
Jul 23, 2025
3626f88
8361307: [lworld] Clarify identity vs value in Class, Objects, and do…
Jul 24, 2025
acfb4f0
8363846: [lworld] Make Class.isIdentityClass() non-native
coleenp Jul 24, 2025
899efed
Merge jdk
Jul 25, 2025
5e55eda
8354404: [lworld] compiler/startup/StartupOutput.java crashes during …
marc-chevalier Jul 25, 2025
b2e518b
8357785: [lworld] TestResolvedJavaType fails due to unexpected getIns…
marc-chevalier Jul 25, 2025
57a9aef
8364034: [lworld] Pre-register boxing classes in class loaders
fparain Jul 28, 2025
79618d4
Remove ensure_objArray and copying code and write a test
coleenp Jul 28, 2025
4f9deef
8364321: Add JDI tests for value objects
Jul 29, 2025
67e6bcc
8360653: [lworld] LayoutIterationTest.java fails with -XX:ForceNonTea…
liach Aug 5, 2025
4ce51bf
[lworld] Remove redundant DTraceAlloc/Method probes
coleenp Aug 12, 2025
ed21796
8364483: [lworld] Pre-register migrated classes in class loaders
coleenp Aug 12, 2025
767f79f
Merge jdk
Aug 18, 2025
e24379f
Merge jdk
Aug 19, 2025
af03598
Merge jdk
Aug 20, 2025
62e90b5
Merge jdk
Aug 21, 2025
2ea7f81
ProblemList MemoryAccessProviderTest.java and TestHotSpotResolvedJava…
marc-chevalier Aug 22, 2025
68b13b4
8364579: [lworld] Null oop fields are not correctly handled in scalar…
TobiHartmann Aug 22, 2025
5132a63
8360851: [lworld] missing # {method} comment in assembly dumping
mhaessig Aug 25, 2025
bd1d97b
8361352: [lworld] Weird interaction between OSR and value class insta…
marc-chevalier Aug 26, 2025
3034909
8366239: Remove 'package_to_module' function from imageFile.cpp
david-beaumont Aug 28, 2025
4a8a615
Fix issues in javac combo tests
mcimadamore Aug 29, 2025
6331411
8310649: [lworld] PrimitiveClassConstantTest fails with ClassFormatError
liach Aug 29, 2025
43c6b8a
Merge jdk
Sep 3, 2025
22e9d5f
Adjust testing 8366774
Sep 3, 2025
480094c
8366802: [lworld] jdk/javadoc/doccheck/checks/jdkCheckLinks.java fail…
liach Sep 3, 2025
c8d4a24
8366214: [lworld] Use Objects.equals in HashMap and ConcurrentHashmap
Sep 3, 2025
3699b1c
8365996: [lworld] Register corruption in GC barrier slow paths in sca…
marc-chevalier Sep 3, 2025
24cf5a8
8364095: [lworld] AccessFlags location and release need futher work f…
liach Sep 3, 2025
1207841
LoadableDescriptorsAttrTest2 uses preview API Attributes.loadableDesc…
liach Sep 3, 2025
59ffa2d
8366267: [lworld] Injected ACC_IDENTITY escapes to instrumentation of…
coleenp Sep 4, 2025
2fddd34
8366913: [lworld] Add ACC_STRICT_INIT to ClassFile
liach Sep 4, 2025
858be30
8366879: [lworld] C2's lock elimination fails after JDK-8335256
TobiHartmann Sep 5, 2025
4b93af7
8366440: [lworld] Two tests broken with JDK-8364483
coleenp Sep 5, 2025
3620108
8359370: [lworld] allow instance fields of identity classes to be rea…
Sep 5, 2025
b53b049
8365978: [lworld] C2: assert(vk->maybe_flat_in_array()) when using co…
marc-chevalier Sep 8, 2025
94cca4b
8366705: [lworld] Re-work of arrays meta-data
fparain Sep 8, 2025
ba4e767
8366841: [lworld] Objects.equals without identity comparison
Sep 8, 2025
45a451a
8352737: [lworld] Fix TestIntrinsics after VarHandle support cleanup
marc-chevalier Sep 9, 2025
9014ec2
8366973: [lworld] Deopt/recompilation cycle due to call to method wit…
TobiHartmann Sep 9, 2025
0817750
8366794: [lworld] "assert(!is_null(v)) failed: narrow klass value can…
coleenp Sep 10, 2025
7247583
8367263: [lworld] fix compiler/valhalla/inlinetypes/TestIntrinsics.ja…
marc-chevalier Sep 10, 2025
2796f35
[lworld] Problem listing TestClassLoaderStatsEvent.java
TobiHartmann Sep 10, 2025
a80315a
Merge jdk
Sep 10, 2025
d3ec227
8367304: [lworld] Printing of rematerialized objects is broken
TobiHartmann Sep 10, 2025
320b11c
[lworld] Problem listing tests failing due to JDK-8366806
TobiHartmann Sep 10, 2025
3e84ee6
[lworld] One more workaround for JDK-8366668
TobiHartmann Sep 10, 2025
092078e
8327257: [lworld] Tests are needed to stress class preloading with co…
Arraying Sep 10, 2025
9a78d54
8367362: ProblemList test VarHandleTestMethodHandleAccessValue.java
Sep 10, 2025
9aff71a
8366701: [lworld] Method profiles for AOT cache introduced with JEP 5…
chhagedorn Sep 11, 2025
c600049
Problem list JCmdTestDynamicDump.java
Arraying Sep 11, 2025
a7b1404
Merge jdk
Sep 11, 2025
880ae47
[lworld] Problem listing 8367405
TobiHartmann Sep 11, 2025
7d4f8fe
8367414: Problemlist runtime/cds/appcds/methodHandles/MethodHandlesGe…
chhagedorn Sep 11, 2025
ac35fa7
Merge jdk
Sep 11, 2025
c3bad8f
Merge jdk
Sep 12, 2025
446d7d5
8294051: [lworld] runtime/AccModule/ConstModule.java fails with incor…
coleenp Sep 12, 2025
0836ed5
8328777: [lworld] TestSyncOnValueBasedClassEvent.java fails with Exce…
coleenp Sep 12, 2025
11cee9e
8336845: [lworld] Virtual threads don't support the value class calli…
pchilano Sep 12, 2025
09637e0
Merge jdk
Sep 12, 2025
de62c5d
8367551: Cherrypick ImageReader refactoring PR (JDK-8360037)
david-beaumont Sep 12, 2025
28b96c0
8341846: [lworld] compiler/valhalla/inlinetypes/TestStressReturnBuffe…
Arraying Sep 12, 2025
07a4cb4
8367569: [lworld] ImageReaderBenchmark.java doesn't compile
Sep 12, 2025
0492736
8367564: Fields access in interpreter needs cleanup and refactoring
fparain Sep 12, 2025
b916f97
8271910: [lworld] Heap functions/callbacks should support value fields
Sep 12, 2025
cf86330
8367592: Call to write_flat_field uses a Windows calling convention arg
Sep 13, 2025
8930839
8367608: [lworld] Update/reimplement valhalla benchmarks for JEP 401
Sep 15, 2025
1c011a3
8367548: compiler/intrinsics/bmi tests fail with -XX:+AOTClassLinking
chhagedorn Sep 15, 2025
e40fde6
[BACKOUT] 8367608: [lworld] Update/reimplement valhalla benchmarks fo…
Sep 15, 2025
04efe5c
8367323: [lworld] javac is rejecting valid code after fix for JDK-835…
Sep 15, 2025
4da4927
8367156: [lworld] MacroAssembler::remove_frame hits "Field too big fo…
marc-chevalier Sep 16, 2025
9a952be
8366743: [lworld]: Verifier adjustments for operations on 'uninitiali…
Sep 16, 2025
b1a388b
8367608: [lworld] Update/reimplement valhalla benchmarks for JEP 401
Sep 16, 2025
5b910ab
8367375: Crash when using CDS archive created with -XX:+UseCompactObj…
coleenp Sep 16, 2025
54c8105
8349037: [lworld] runtime/valhalla/inlinetypes/CircularityTest.java c…
fparain Sep 16, 2025
b006b05
8367691: runtime/valhalla/inlinetypes/classloading/ConcurrentClassLoa…
Arraying Sep 17, 2025
7afbf29
8353303: Configuring with --disable-cds causes cdsConfig.hpp compilat…
Sep 17, 2025
9f60a53
8337547: Add LoadableDescriptors to comments for class loading
coleenp Sep 18, 2025
ec61d0a
Merge jdk
Sep 19, 2025
443cdd5
8368020: Remove preloading of null-restricted static fields classes
fparain Sep 19, 2025
05d82ab
8367912: Add unit test for LoadableDescriptors attribute with invalid…
fparain Sep 19, 2025
bc7a3d6
8368031: Apply mainline changes to support preview mode work into Val…
david-beaumont Sep 19, 2025
b22f6a4
Merge jdk
Sep 22, 2025
f7c5932
8270527: [lworld] markWord::print_on() needs to reflect the additiona…
Arraying Sep 22, 2025
fdea44c
Merge jdk
Sep 22, 2025
d15b325
Missing include
Sep 22, 2025
ee7ff9b
Merge jdk
Sep 22, 2025
2c2f4b2
8362181: [lworld] Include verification for strict fields in ClassFile…
liach Sep 22, 2025
cb4da36
8368371: runtime/valhalla/inlinetypes/classloading/ConcurrentClassLoa…
Arraying Sep 23, 2025
1c40d09
Merge jdk
Sep 23, 2025
4248753
ProblemList MemoryAccessProviderTest.java and TestHotSpotResolvedJava…
marc-chevalier Sep 23, 2025
5d7a251
8367698: [lworld] New lint category for code that would not be allowe…
Sep 23, 2025
478e0b5
8368076: [lworld] tools/javac/ObjectEarlyContext/T8361481.java bogus …
Sep 23, 2025
0dd4f42
8367589: [lworld] com/sun/jdi/valhalla tests fail with JTREG_TEST_THR…
Sep 23, 2025
d19c45e
8368494: [lworld] some tests are failing after fix for JDK-8367698 br…
Sep 23, 2025
6f5dc65
8368078: [lworld] tools/javac/flags/ExtendedStandardFlagsOverlayFlags…
Sep 23, 2025
feee12a
8368002: [lworld] Crash in ThawBase::remove_top_compiled_frame_from_c…
pchilano Sep 23, 2025
0ef9bd4
8368022: serviceability/dcmd/gc/HeapDumpParallelTest.java fails missi…
Sep 24, 2025
01225ee
8367518: TestRedundantLea.java fails in Valhalla
mhaessig Sep 24, 2025
77d067c
8367415: Fully encapsulate array allocation in oopFactory
coleenp Sep 24, 2025
52e1a19
8368099: [lworld] Crash in frame::sender_for_compiled_frame while pro…
pchilano Sep 24, 2025
18097d4
8367415: Fully encapsulate array allocation in oopFactory
coleenp Sep 24, 2025
140e4e3
8368192: Test java/lang/ProcessBuilder/Basic.java#id0 fails with Exce…
Sep 24, 2025
f909731
8366806: [lworld] JDI test failures
Sep 25, 2025
0b205d6
8360656: [lworld] UnsafeTest.java fails with -XX:ForceNonTearable=*
fparain Sep 25, 2025
18a0f39
Fix ProblemList entries
Sep 26, 2025
2ea952e
8367500: [lworld] compiler/valhalla/inlinetypes/TestTearing.java time…
chhagedorn Sep 26, 2025
f774a33
[lworld] Run compiler/valhalla/inlinetypes/TestAcmpWithUnstableIf.jav…
chhagedorn Sep 26, 2025
df4b1cf
8348972: [lworld] C1/C2: Update Valhalla with UseCompactObjectHeaders…
chhagedorn Sep 26, 2025
a0690da
8368519: [lworld]: TestRedundantLea.java#Spill fails
mhaessig Sep 26, 2025
a92246b
8367398: JCmdTestDynamicDump.java crashes on Windows with assert(m !=…
Sep 26, 2025
855a208
8368800: [lworld] Early larval frame and strict should be guarded by …
liach Sep 26, 2025
f8fde23
8368812: [lworld] remove test ExtendedStandardFlagsOverlayFlagsConfli…
Sep 28, 2025
85a05d2
8368081: [lworld] tools/javac/processing/model/element/TestValueClass…
Sep 28, 2025
708b4f9
8368523: [lworld] fix testlibrary_tests/ir_framework/tests/TestPhaseI…
marc-chevalier Sep 29, 2025
b401718
8367338: [lworld] compiler/gcbarriers/TestImplicitNullChecks.java fails
dafedafe Sep 30, 2025
7c210c1
Merge jdk
Sep 30, 2025
81f4141
8367729: [lworld] Handle OOME in code cache when generating inline ty…
TobiHartmann Sep 30, 2025
10e72b9
8368884: [lworld] java.util.Objects.equals should be inlined
Sep 30, 2025
b298ae0
8367412: [lworld] Adapter creation fails with guarantee(chk == -1 || …
TobiHartmann Sep 30, 2025
29df705
8367588: [lworld] serviceability/jvmti/valhalla/GetSetLocal/ValueGetS…
Sep 30, 2025
2bc50b3
8367767: [lworld] Interpreter adherence to new memory model rules for…
fparain Oct 1, 2025
2abd3a9
8367242: [lworld] C2 compilation asserts with "dead loop detected"
marc-chevalier Oct 2, 2025
a687d94
8369044: [lworld] Interpreter does not emit barrier at the end of jav…
fparain Oct 2, 2025
1a33b86
8368497: [lworld] redo: New lint category `initialization` for code t…
Oct 2, 2025
d300922
8368939: [lworld] TestInliningProtectionDomain fails since jdk-26+11
dafedafe Oct 3, 2025
f615c37
Merge jdk
Oct 3, 2025
e0f10c2
Adjust testing 251003
Oct 3, 2025
db38c83
8368875: [lworld] UseParallelGC fails null narrow klass assertion fai…
coleenp Oct 3, 2025
dcb487a
8369090: [lworld] Merge jdk-26+12 breaks some constructor and early a…
Oct 4, 2025
274d560
8369062: [lworld] Do not allow references to instance fields before a…
Oct 5, 2025
e875fec
Problemlist JDK-8369043
Arraying Oct 6, 2025
f8ced6c
8367785: [lworld] Compiler adherence to new memory model rules for st…
TobiHartmann Oct 6, 2025
b5a6caf
Merge jdk
Oct 6, 2025
0f7e09c
8368802: [lworld] C1 compilation fails with SIGSEGV in ciObjArrayKlas…
TobiHartmann Oct 6, 2025
619825c
8368782: [lworld] C2: fatal error: no reachable node should have no use
chhagedorn Oct 7, 2025
b789fa9
8369260: [lworld] InnerClassLambdaMetafactory.java should use PREVIEW…
Oct 7, 2025
14a3c90
Merge jdk
Oct 7, 2025
a592447
8369066: [lworld] UncaughtNativeExceptionTest.java fails with Unsuppo…
Oct 7, 2025
dd39de4
8368795: [lworld] javac rejects assignments to components of array fi…
Oct 9, 2025
693a507
8369446: [lworld] Problem list LoggingDeadlock2
Oct 9, 2025
84c7c0a
DEFAULT_PROMOTED_VERSION_PRE=jep401ea2
Oct 10, 2025
99f28f5
8369532: [lworld] Increase compilation memory limit for TestValueCons…
mhaessig Oct 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 3 additions & 17 deletions .jcheck/conf
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
[general]
project=jdk
project=valhalla
jbs=JDK
version=26

[checks]
error=author,committer,reviewers,merge,issues,executable,symlink,message,hg-tag,whitespace,problemlists,copyright
warning=issuestitle,binary

[repository]
tags=(?:jdk-(?:[1-9]([0-9]*)(?:\.(?:0|[1-9][0-9]*)){0,4})(?:\+(?:(?:[0-9]+))|(?:-ga)))|(?:jdk[4-9](?:u\d{1,3})?-(?:(?:b\d{2,3})|(?:ga)))|(?:hs\d\d(?:\.\d{1,2})?-b\d\d)
branches=.*
error=author,committer,executable,symlink,whitespace
warning=issuestitle

[census]
version=0
Expand All @@ -19,19 +15,9 @@ domain=openjdk.org
files=.*\.cpp|.*\.hpp|.*\.c|.*\.h|.*\.java|.*\.cc|.*\.hh|.*\.m|.*\.mm|.*\.S|.*\.md|.*\.properties|.*\.gmk|.*\.m4|.*\.ac|Makefile
ignore-tabs=.*\.gmk|Makefile

[checks "merge"]
message=Merge

[checks "reviewers"]
reviewers=1
ignore=duke

[checks "committer"]
role=committer

[checks "issues"]
pattern=^([124-8][0-9]{6}): (\S.*)$

[checks "problemlists"]
dirs=test/jdk|test/langtools|test/lib-test|test/hotspot/jtreg|test/jaxp

Expand Down
48 changes: 47 additions & 1 deletion make/CompileJavaModules.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ include MakeFileStart.gmk
include JavaCompilation.gmk
include Modules.gmk

include CopyFiles.gmk

################################################################################
# If this is an imported module that has prebuilt classes, only compile
# module-info.java.
Expand Down Expand Up @@ -97,7 +99,6 @@ endif

################################################################################
# Setup the main compilation

$(eval $(call SetupJavaCompilation, $(MODULE), \
SMALL_JAVA := false, \
MODULE := $(MODULE), \
Expand Down Expand Up @@ -126,6 +127,51 @@ $(eval $(call SetupJavaCompilation, $(MODULE), \

TARGETS += $($(MODULE))

################################################################################
# Setup compilation for value classes in the module
# TBD: When $(DOCLINT) was included there was an NPE in JavacTypes.getOverriddenMethods

# Directory and file name suffix for jar file containing value classes
VALUECLASSES_STR := valueclasses

ifneq ($(COMPILER), bootjdk)
MODULE_VALUECLASS_SRC_DIRS := $(call FindModuleValueClassSrcDirs, $(MODULE))
MODULE_VALUECLASS_SOURCEPATH := $(call GetModuleValueClassSrcPath)

ifneq ($(MODULE_VALUECLASS_SRC_DIRS),)
$(eval $(call SetupJavaCompilation, $(MODULE)-$(VALUECLASSES_STR), \
SMALL_JAVA := false, \
MODULE := $(MODULE), \
SRC := $(wildcard $(MODULE_VALUECLASS_SRC_DIRS)), \
INCLUDES := $(JDK_USER_DEFINED_FILTER), \
FAIL_NO_SRC := $(FAIL_NO_SRC), \
BIN := $(SUPPORT_OUTPUTDIR)/$(VALUECLASSES_STR)/, \
JAR := $(JDK_OUTPUTDIR)/lib/$(VALUECLASSES_STR)/$(MODULE)-$(VALUECLASSES_STR).jar, \
HEADERS := $(SUPPORT_OUTPUTDIR)/headers, \
DISABLED_WARNINGS := $(DISABLED_WARNINGS_java) preview, \
EXCLUDES := $(EXCLUDES), \
EXCLUDE_FILES := $(EXCLUDE_FILES) \
KEEP_ALL_TRANSLATIONS := $(KEEP_ALL_TRANSLATIONS), \
DEPENDS := $($(MODULE)), \
JAVAC_FLAGS := \
$(JAVAC_FLAGS) \
--module-source-path $(MODULE_VALUECLASS_SOURCEPATH) \
--module-path $(JDK_OUTPUTDIR)/modules \
--system none \
--enable-preview -source $(JDK_SOURCE_TARGET_VERSION), \
))

TARGETS += $($(MODULE)-$(VALUECLASSES_STR))

$(eval $(call SetupCopyFiles, $(MODULE)-copy-valueclass-jar, \
FILES := $(JDK_OUTPUTDIR)/lib/$(VALUECLASSES_STR)/$(MODULE)-$(VALUECLASSES_STR).jar, \
DEST := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE)/$(VALUECLASSES_STR), \
))

TARGETS += $($(MODULE)-copy-valueclass-jar)
endif
endif

# Declare dependencies between java compilations of different modules.
# Since the other modules are declared in different invocations of this file,
# use the macro to find the correct target file to depend on.
Expand Down
4 changes: 3 additions & 1 deletion make/Docs.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ JAVADOC_DISABLED_DOCLINT_WARNINGS := missing
JAVADOC_DISABLED_DOCLINT_PACKAGES := org.w3c.* javax.smartcardio

# The initial set of options for javadoc
JAVADOC_OPTIONS := -use -keywords -notimestamp \
JAVADOC_OPTIONS := -XDignore.symbol.file=true -use -keywords -notimestamp \
-serialwarn -encoding utf-8 -docencoding utf-8 -breakiterator \
-splitIndex --system none -javafx --expand-requires transitive \
-XDenableValueTypes \
--enable-preview -source $(JDK_SOURCE_TARGET_VERSION) \
--override-methods=summary

# The reference options must stay stable to allow for comparisons across the
Expand Down
45 changes: 24 additions & 21 deletions make/Images.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -138,23 +138,24 @@ CDS_DUMP_FLAGS = -Xmx128M -Xms128M
#
# Param1 - VM variant (e.g., server, client, zero, ...)
# Param2 - _nocoops, _coh, _nocoops_coh, or empty
# Param3 - _valhalla, or empty
define CreateCDSArchive
$1_$2_COOPS_OPTION := $(if $(findstring _nocoops, $2),-XX:-UseCompressedOops)
# enable and also explicitly disable coh as needed.
ifeq ($(call isTargetCpuBits, 64), true)
$1_$2_COH_OPTION := -XX:+UnlockExperimentalVMOptions \
$(if $(findstring _coh, $2),-XX:+UseCompactObjectHeaders,-XX:-UseCompactObjectHeaders)
endif
$1_$2_DUMP_EXTRA_ARG := $$($1_$2_COOPS_OPTION) $$($1_$2_COH_OPTION)
$1_$2_DUMP_TYPE := $(if $(findstring _nocoops, $2),-NOCOOPS,)$(if $(findstring _coh, $2),-COH,)
$1_$2_$3_DUMP_EXTRA_ARG := $$($1_$2_COOPS_OPTION) $$($1_$2_COH_OPTION) $(if $(findstring _valhalla, $3), --enable-preview,)
$1_$2_$3_DUMP_TYPE := $(if $(findstring _nocoops, $2),-NOCOOPS,)$(if $(findstring _coh, $2),-COH,)$(if $(findstring _valhalla, $3), -VALHALLA,)

# Only G1 supports dumping the shared heap, so explicitly use G1 if the JVM supports it.
$1_$2_CDS_DUMP_FLAGS := $(CDS_DUMP_FLAGS) $(if $(filter g1gc, $(JVM_FEATURES_$1)), -XX:+UseG1GC)
$1_$2_$3_CDS_DUMP_FLAGS := $(CDS_DUMP_FLAGS) $(if $(filter g1gc, $(JVM_FEATURES_$1)), -XX:+UseG1GC)

ifeq ($(OPENJDK_TARGET_OS), windows)
$1_$2_CDS_ARCHIVE := bin/$1/classes$2.jsa
$1_$2_$3_CDS_ARCHIVE := bin/$1/classes$2$3.jsa
else
$1_$2_CDS_ARCHIVE := lib/$1/classes$2.jsa
$1_$2_$3_CDS_ARCHIVE := lib/$1/classes$2$3.jsa
endif

ifneq ($(COMPARE_BUILD), )
Expand All @@ -165,41 +166,43 @@ define CreateCDSArchive
$1_$2_CDS_DUMP_FLAGS += -Xlog:aot+map*=trace:file=$$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE).cdsmap:none:filesize=0
endif

$$(eval $$(call SetupExecute, $1_$2_gen_cds_archive_jdk, \
WARN := Creating CDS$$($1_$2_DUMP_TYPE) archive for jdk image for $1, \
INFO := Using CDS flags for $1: $$($1_$2_CDS_DUMP_FLAGS), \
$$(eval $$(call SetupExecute, $1_$2_$3_gen_cds_archive_jdk, \
WARN := Creating CDS$$($1_$2_$3_DUMP_TYPE) archive for jdk image for $1, \
INFO := Using CDS flags for $1: $$($1_$2_$3_CDS_DUMP_FLAGS), \
DEPS := $$(jlink_jdk), \
OUTPUT_FILE := $$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE), \
OUTPUT_FILE := $$(JDK_IMAGE_DIR)/$$($1_$2_$3_CDS_ARCHIVE), \
SUPPORT_DIR := $$(JDK_IMAGE_SUPPORT_DIR), \
COMMAND := $$(FIXPATH) $$(JDK_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedArchiveFile=$$(JDK_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE) \
-$1 $$($1_$2_DUMP_EXTRA_ARG) $$($1_$2_CDS_DUMP_FLAGS) $$(LOG_INFO), \
-XX:SharedArchiveFile=$$(JDK_IMAGE_DIR)/$$($1_$2_$3_CDS_ARCHIVE) \
-$1 $$($1_$2_$3_DUMP_EXTRA_ARG) $$($1_$2_$3_CDS_DUMP_FLAGS) $$(LOG_INFO), \
))

JDK_TARGETS += $$($1_$2_gen_cds_archive_jdk)
JDK_TARGETS += $$($1_$2_$3_gen_cds_archive_jdk)

$$(eval $$(call SetupExecute, $1_$2_gen_cds_archive_jre, \
WARN := Creating CDS$$($1_$2_DUMP_TYPE) archive for jre image for $1, \
INFO := Using CDS flags for $1: $$($1_$2_CDS_DUMP_FLAGS), \
$$(eval $$(call SetupExecute, $1_$2_$3_gen_cds_archive_jre, \
WARN := Creating CDS$$($1_$2_$3_DUMP_TYPE) archive for jre image for $1, \
INFO := Using CDS flags for $1: $$($1_$2_$3_CDS_DUMP_FLAGS), \
DEPS := $$(jlink_jre), \
OUTPUT_FILE := $$(JRE_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE), \
OUTPUT_FILE := $$(JRE_IMAGE_DIR)/$$($1_$2_$3_CDS_ARCHIVE), \
SUPPORT_DIR := $$(JRE_IMAGE_SUPPORT_DIR), \
COMMAND := $$(FIXPATH) $$(JRE_IMAGE_DIR)/bin/java -Xshare:dump \
-XX:SharedArchiveFile=$$(JRE_IMAGE_DIR)/$$($1_$2_CDS_ARCHIVE) \
-$1 $$($1_$2_DUMP_EXTRA_ARG) $$($1_$2_CDS_DUMP_FLAGS) $$(LOG_INFO), \
-XX:SharedArchiveFile=$$(JRE_IMAGE_DIR)/$$($1_$2_$3_CDS_ARCHIVE) \
-$1 $$($1_$2_$3_DUMP_EXTRA_ARG) $$($1_$2_$3_CDS_DUMP_FLAGS) $$(LOG_INFO), \
))

JRE_TARGETS += $$($1_$2_gen_cds_archive_jre)
JRE_TARGETS += $$($1_$2_$3_gen_cds_archive_jre)
endef

ifeq ($(BUILD_CDS_ARCHIVE), true)
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call CreateCDSArchive,$v,)) \
$(eval $(call CreateCDSArchive,$v,,)) \
$(eval $(call CreateCDSArchive,$v,,_valhalla)) \
)

ifeq ($(call isTargetCpuBits, 64), true)
$(foreach v, $(JVM_VARIANTS), \
$(eval $(call CreateCDSArchive,$v,_nocoops)) \
$(eval $(call CreateCDSArchive,$v,_nocoops,)) \
$(eval $(call CreateCDSArchive,$v,_nocoops,_valhalla)) \
)
ifeq ($(BUILD_CDS_ARCHIVE_COH), true)
$(foreach v, $(JVM_VARIANTS), \
Expand Down
2 changes: 1 addition & 1 deletion make/RunTestsPrebuiltSpec.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ TEST_JOBS ?= 0

# Use hard-coded values for java flags (one size, fits all!)
JAVA_FLAGS := -Duser.language=en -Duser.country=US
JAVA_FLAGS_BIG := -Xms64M -Xmx2048M
JAVA_FLAGS_BIG := -Xms64M -Xmx3200M
JAVA_FLAGS_SMALL := -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
BUILDJDK_JAVA_FLAGS_SMALL := -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
Expand Down
2 changes: 1 addition & 1 deletion make/autoconf/boot-jdk.m4
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ AC_DEFUN_ONCE([BOOTJDK_SETUP_BOOT_JDK_ARGUMENTS],
# Maximum amount of heap memory.
JVM_HEAP_LIMIT_32="768"
# Running a 64 bit JVM allows for and requires a bigger heap
JVM_HEAP_LIMIT_64="2048"
JVM_HEAP_LIMIT_64="3200"
JVM_HEAP_LIMIT_GLOBAL=`expr $MEMORY_SIZE / 2`
if test "$JVM_HEAP_LIMIT_GLOBAL" -lt "$JVM_HEAP_LIMIT_32"; then
JVM_HEAP_LIMIT_32=$JVM_HEAP_LIMIT_GLOBAL
Expand Down
3 changes: 3 additions & 0 deletions make/autoconf/hotspot.m4
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
# All valid JVM variants
VALID_JVM_VARIANTS="server client minimal core zero custom"

# Valhalla temporarily disabled
VALHALLA_TEMP=false

################################################################################
# Check if the specified JVM variant should be built. To be used in shell if
# constructs, like this:
Expand Down
4 changes: 3 additions & 1 deletion make/autoconf/jdk-options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,11 @@ AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE],
#
# Enable or disable the default CDS archive generation for Compact Object Headers
#
# Default disabled within Valhalla until support added (JDK-8348568)
#
AC_DEFUN([JDKOPT_ENABLE_DISABLE_CDS_ARCHIVE_COH],
[
UTIL_ARG_ENABLE(NAME: cds-archive-coh, DEFAULT: auto, RESULT: BUILD_CDS_ARCHIVE_COH,
UTIL_ARG_ENABLE(NAME: cds-archive-coh, DEFAULT: false, RESULT: BUILD_CDS_ARCHIVE_COH,
DESC: [enable generation of default CDS archives for compact object headers (requires --enable-cds-archive)],
DEFAULT_DESC: [auto],
CHECKING_MSG: [if default CDS archives for compact object headers should be generated],
Expand Down
2 changes: 1 addition & 1 deletion make/autoconf/lib-tests.m4
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
################################################################################

# Minimum supported versions
JTREG_MINIMUM_VERSION=7.5.2
JTREG_MINIMUM_VERSION=7.5.1
GTEST_MINIMUM_VERSION=1.14.0

################################################################################
Expand Down
16 changes: 16 additions & 0 deletions make/common/Modules.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ GENERATED_SRC_DIRS += \
$(SUPPORT_OUTPUTDIR)/gensrc \
#

GENERATED_VALUE_CLASS_SUBDIRS += \
$(SUPPORT_OUTPUTDIR)/gensrc-valueclasses \
#

TOP_SRC_DIRS += \
$(TOPDIR)/src \
#
Expand Down Expand Up @@ -144,6 +148,12 @@ FindModuleSrcDirs = \
$(addsuffix /$(strip $1), $(GENERATED_SRC_DIRS) $(IMPORT_MODULES_SRC)) \
$(foreach sub, $(SRC_SUBDIRS), $(addsuffix /$(strip $1)/$(sub), $(TOP_SRC_DIRS)))))

# Find value class source dirs for a particular module (only generated)
# $1 - Module to find source dirs for
FindModuleValueClassSrcDirs = \
$(strip $(wildcard \
$(addsuffix /$(strip $1), $(GENERATED_VALUE_CLASS_SUBDIRS))))

# Find all specs dirs for a particular module
# $1 - Module to find specs dirs for
FindModuleSpecsDirs = \
Expand All @@ -166,6 +176,12 @@ GetModuleSrcPath = \
$(addsuffix /*, $(GENERATED_SRC_DIRS) $(IMPORT_MODULES_SRC)) \
$(foreach sub, $(SRC_SUBDIRS), $(addsuffix /*/$(sub), $(TOP_SRC_DIRS))))

# Construct the complete module source path for value classes
GetModuleValueClassSrcPath = \
$(call PathList, \
$(addsuffix /*, $(GENERATED_VALUE_CLASS_SUBDIRS) $(GENERATED_SRC_DIRS) $(IMPORT_MODULES_SRC)) \
$(foreach sub, $(SRC_SUBDIRS), $(addsuffix /*/$(sub), $(TOP_SRC_DIRS))))

################################################################################
# Extract module dependencies from module-info.java files, both normal
# dependencies ("requires"), and indirect exports ("requires transitive").
Expand Down
2 changes: 1 addition & 1 deletion make/conf/github-actions.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Versions and download locations for dependencies used by GitHub Actions (GHA)

GTEST_VERSION=1.14.0
JTREG_VERSION=7.5.2+1
JTREG_VERSION=7.5.1+1

LINUX_X64_BOOT_JDK_EXT=tar.gz
LINUX_X64_BOOT_JDK_URL=https://download.java.net/java/GA/jdk24/1f9ff9062db4449d8ca828c504ffae90/36/GPL/openjdk-24_linux-x64_bin.tar.gz
Expand Down
5 changes: 3 additions & 2 deletions make/conf/jib-profiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1174,9 +1174,9 @@ var getJibProfilesDependencies = function (input, common) {
jtreg: {
server: "jpg",
product: "jtreg",
version: "7.5.2",
version: "7.5.1",
build_number: "1",
file: "bundles/jtreg-7.5.2+1.zip",
file: "bundles/jtreg-7.5.1+1.zip",
environment_name: "JT_HOME",
environment_path: input.get("jtreg", "home_path") + "/bin",
configure_args: "--with-jtreg=" + input.get("jtreg", "home_path"),
Expand Down Expand Up @@ -1476,6 +1476,7 @@ var versionArgs = function(input, common) {
+ common.build_number + "." + ciBuildNumber);
}
} else {
args = concat(args, "--with-version-pre=" + version_numbers.get("DEFAULT_PROMOTED_VERSION_PRE"));
args = concat(args, "--with-version-opt=" + common.build_id);
}
var sourceDate
Expand Down
2 changes: 1 addition & 1 deletion make/conf/version-numbers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ DEFAULT_VERSION_CLASSFILE_MINOR=0
DEFAULT_VERSION_DOCS_API_SINCE=11
DEFAULT_ACCEPTABLE_BOOT_VERSIONS="24 25 26"
DEFAULT_JDK_SOURCE_TARGET_VERSION=26
DEFAULT_PROMOTED_VERSION_PRE=ea
DEFAULT_PROMOTED_VERSION_PRE=jep401ea2
7 changes: 3 additions & 4 deletions make/hotspot/lib/JvmFeatures.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,9 @@ endif
ifeq ($(call check-jvm-feature, zero), true)
JVM_EXCLUDES += opto libadt
JVM_EXCLUDE_PATTERNS += c1_ c1/ c2_ runtime_ /c2/
JVM_EXCLUDE_FILES += templateInterpreter.cpp \
templateInterpreterGenerator.cpp bcEscapeAnalyzer.cpp ciTypeFlow.cpp
JVM_CFLAGS_FEATURES += -DZERO \
-DZERO_LIBARCH='"$(OPENJDK_TARGET_CPU_LEGACY_LIB)"' $(LIBFFI_CFLAGS)
JVM_EXCLUDE_FILES += templateInterpreter.cpp templateInterpreterGenerator.cpp \
bcEscapeAnalyzer.cpp ciTypeFlow.cpp macroAssembler_common.cpp
JVM_CFLAGS_FEATURES += -DZERO -DZERO_LIBARCH='"$(OPENJDK_TARGET_CPU_LEGACY_LIB)"' $(LIBFFI_CFLAGS)
JVM_LIBS_FEATURES += $(LIBFFI_LIBS)
ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
JVM_LDFLAGS_FEATURES += $(call SET_EXECUTABLE_ORIGIN,/..)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ public void createSymbols(String ctDescriptionFileExtra, String ctDescriptionFil
"Ljdk/internal/ValueBased;";
private static final String VALUE_BASED_ANNOTATION_INTERNAL =
"Ljdk/internal/ValueBased+Annotation;";
private static final String MIGRATED_VALUE_CLASS_ANNOTATION =
"Ljdk/internal/MigratedValueClass;";
private static final String MIGRATED_VALUE_CLASS_ANNOTATION_INTERNAL =
"Ljdk/internal/MigratedValueClass+Annotation;";
private static final String REQUIRES_IDENTITY_ANNOTATION =
"Ljdk/internal/RequiresIdentity;";
private static final String REQUIRES_IDENTITY_ANNOTATION_INTERNAL =
Expand All @@ -316,6 +320,7 @@ public void createSymbols(String ctDescriptionFileExtra, String ctDescriptionFil
PREVIEW_FEATURE_ANNOTATION_OLD,
PREVIEW_FEATURE_ANNOTATION_NEW,
VALUE_BASED_ANNOTATION,
MIGRATED_VALUE_CLASS_ANNOTATION,
RESTRICTED_ANNOTATION,
REQUIRES_IDENTITY_ANNOTATION));

Expand Down Expand Up @@ -1034,6 +1039,12 @@ private Annotation createAnnotation(AnnotationDescription desc) {
annotationType = VALUE_BASED_ANNOTATION_INTERNAL;
}

if (MIGRATED_VALUE_CLASS_ANNOTATION.equals(annotationType)) {
//the non-public MigratedValueClass annotation will not be available in ct.sym,
//replace with purely synthetic javac-internal annotation:
annotationType = MIGRATED_VALUE_CLASS_ANNOTATION_INTERNAL;
}

if (REQUIRES_IDENTITY_ANNOTATION.equals(annotationType)) {
//the non-public RequiresIdentity annotation will not be available in ct.sym,
//replace with purely synthetic javac-internal annotation:
Expand Down
1 change: 1 addition & 0 deletions make/modules/java.base/Gensrc.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ include gensrc/GensrcMisc.gmk
include gensrc/GensrcModuleLoaderMap.gmk
include gensrc/GensrcRegex.gmk
include gensrc/GensrcScopedMemoryAccess.gmk
include gensrc/GensrcValueClasses.gmk
include gensrc/GensrcVarHandles.gmk

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion make/modules/java.base/Java.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# new warning is added to javac, it can be temporarily added to the
# disabled warnings list.
#
# DISABLED_WARNINGS_java +=
DISABLED_WARNINGS_java += initialization

DOCLINT += -Xdoclint:all/protected \
'-Xdoclint/package:java.*,javax.*'
Expand Down
Loading