Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize with upstream 23.0 branch #595

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
0026ca3
Update GraalVM CE README and introduction
olyagpl Jul 14, 2023
7e38d9d
Update Certified Platforms table for Oracle GraalVM
olyagpl Jul 14, 2023
facace1
Update required GraalVM support version in Native Image JFR doc
olyagpl Jul 10, 2023
ebb7d3d
[GR-47417] NPE when using isloates in JIT mode and sharing engine if …
tzezula Jul 17, 2023
522ad03
Impove Native Image JFR support limitations
olyagpl Jul 17, 2023
8a07365
TruffleString: fix NPE in AbstractTruffleString.equals()
djoooooe Jul 20, 2023
6ce8cdf
Remove '$version'; Add redirects where missing
olyagpl Jul 20, 2023
041f657
Use SDKMAN instead of JDK download scripts in guides
olyagpl Jul 18, 2023
b33b903
Spawning Polyglot Isolates no longer requires allowExperimentalOption…
olyagpl Jul 18, 2023
edff923
Remove experimental status from some options
olyagpl Jul 19, 2023
5587426
new dev cycle 23.0.1
marwan-hallaoui Jul 21, 2023
f50fe7a
[GR-47386] [GR-47382] [GR-47130] Documentation backport: Update Graal…
olyagpl Jul 24, 2023
c49b4cf
[GR-47454] [GR-47470] Add redirects to avoid 404 error and page being…
olyagpl Jul 24, 2023
602b823
Merge branch 'cpu/graal-vm/23.0' into release/graal-vm/23.0
marwan-hallaoui Jul 25, 2023
f258a71
Re-throw feature exceptions as user errors.
fniephaus Jul 20, 2023
d35b985
Backport: Fix incorrect buffer pool adjustment during sampler start.
jovanstevanovic Aug 3, 2023
e61e181
Ignore accessors of RecordComponents when `null`.
fniephaus Jul 12, 2023
56dcffc
Properly set exceptionTemp for foreign calls
tkrodriguez Jul 14, 2023
f7c0139
Fix shutdown hook registration may fail if already in shutdown.
chumer Jul 6, 2023
1ae3e80
remove additional parameter
marwan-hallaoui Aug 7, 2023
48db2b1
remove unused imports
marwan-hallaoui Aug 7, 2023
f6a95e3
Mark Node.js and LLVM Runtime as deprecated in features table
olyagpl Aug 8, 2023
e9e6384
Bugfix in AArch64EncodeArrayOp
djoooooe Aug 10, 2023
5c15566
[GR-47784] Backport: Bugfix in AArch64EncodeArrayOp.
djoooooe Aug 14, 2023
ed40788
Disallow alternating phis as IVs.
davleopo Jul 31, 2023
61b4571
Make disconnected BigInteger host value a number.
jchalou Jul 11, 2023
5ae66a7
fix dependency problems
davleopo Aug 16, 2023
7445790
update to jvmci-23.0-b16
marwan-hallaoui Aug 22, 2023
38a17ea
update intrinsic
marwan-hallaoui Aug 8, 2023
e818a50
Initialize the physical memory size eagerly.
christianhaeubl Aug 16, 2023
3ae7b3d
Added the option -XX:MaxRAM to allow overriding the default OS/contai…
christianhaeubl Aug 16, 2023
06fa5f0
[GR-47723] Backport: Fix incorrect buffer pool adjustment during samp…
jovanstevanovic Aug 25, 2023
b49e395
Add a footnote
olyagpl Aug 9, 2023
5db4c37
Link properly to IDE plugins in IDE Integration doc
olyagpl Aug 15, 2023
724a13d
Add redirect_from on master for docs that no longer exist or were moved
olyagpl Aug 14, 2023
106998e
Update EE container images guide for GraalVM JDK 17/JDK 20
olyagpl Aug 24, 2023
21331f1
Update Container Images Guides for GraalVM JDK 17/JDK 20
olyagpl Aug 25, 2023
1a4391c
Minor updates
sachin-pikle Aug 25, 2023
fe33f64
[GR-47463] Backport 23.1 : Re-throw feature exceptions as user errors.
marwan-hallaoui Aug 25, 2023
c212339
use deployed artifacts
marwan-hallaoui Aug 25, 2023
5e69bbf
[GR-47758] Backport 23.0 : Properly set exceptionTemp for foreign calls.
marwan-hallaoui Aug 27, 2023
e07769e
[GR-47184] Backport 23.0 : Ignore accessors of RecordComponents when …
marwan-hallaoui Aug 27, 2023
a488d5c
[GR-47821] [GR-47944] [GR-47470] Documentation backport: Mark Node.js…
olyagpl Aug 28, 2023
599d73d
[GR-48218] Documentation: Update Container Images Guides for GraalVM …
olyagpl Aug 28, 2023
21d837a
[GR-47417] NPE when using isloates in JIT mode and sharing engine if …
tzezula Aug 28, 2023
9f4ca19
Fix JFR periodic events.
christianhaeubl Aug 29, 2023
245004b
Fix deadlock in PolyglotStackFramesRetriever.
jchalou Aug 29, 2023
2f46439
[GR-47578] Backport to 23:0: Disconnected polyglot.Value instances cr…
ossama-ismaili Aug 29, 2023
66fb384
[GR-47810] Update to jvmci-23.0-b16.
marwan-hallaoui Aug 29, 2023
7155155
[GR-47638] Backport to 23.0: Alternating Phi Wrongly detected as indu…
ossama-ismaili Aug 29, 2023
e4c7e0a
[GR-45764] TruffleString: fix NPE in AbstractTruffleString.equals().
djoooooe Aug 30, 2023
8947eef
Don't use @Uninterruptible for overridable JDK methods.
christianhaeubl Aug 10, 2023
81ed2c6
Adapt changes to JDK17
elkorchi Aug 31, 2023
9ad69a2
[GR-48303] Fix deadlock in PolyglotStackFramesRetriever.
jchalou Aug 31, 2023
09ea30c
update to jvmci-23.0-b17
marwan-hallaoui Aug 30, 2023
1187d8f
[GR-48314] Update to jvmci-23.0-b17.
marwan-hallaoui Aug 31, 2023
2fddb90
[GR-48244] Backport to 23.0: Don't annotate non-final JDK methods as …
elkorchi Sep 5, 2023
14c4b27
Update Containerise a Native Executable and Run in a Docker Container…
olyagpl Aug 30, 2023
ce84dac
Update Containerise a Native Executable guide (Sachin Picle)
sachin-pikle Aug 31, 2023
14d79e5
Make link open in a new tab
olyagpl Aug 31, 2023
19f1fa2
Update Docker run command
olyagpl Sep 5, 2023
9b1eb3d
[GR-48325] Update Containerise a Native Executable and Run in a Docke…
olyagpl Sep 5, 2023
04b8263
update to jvmci-23.0-b18
elkorchi Sep 4, 2023
f6c2112
Fix aarch64 uncompress.
teshull Aug 7, 2023
767fe48
[GR-48360] Update to jvmci-23.0-b18
elkorchi Sep 6, 2023
f4c5a17
resolve conflict
elkorchi Sep 5, 2023
63d2215
fix unbounded growth of guestToHostCodeCache when iterating polyglot …
timfel Jul 10, 2023
6c02ef2
change incorrect assertion
timfel Jul 11, 2023
4bce203
Add test for growth of hostToGuestCodeCache when iterating maps
timfel Jul 11, 2023
abdb4ff
Import/duplicate SubprocessTestUtils from master.
chumer Sep 11, 2023
4992c86
[GR-47119] Backport 23.0 : Fix shutdown hook registration may fail if…
marwan-hallaoui Sep 11, 2023
384d6da
Update Oracle GraalVM for JDK 17 support doc
LesiaChaban Sep 12, 2023
734d3b9
[GR-48301] Fix JFR periodic events.
christianhaeubl Sep 12, 2023
6af3ae4
[GR-47368] Backport to 23.0: hostToGuestCodeCache grows unbounded
elkorchi Sep 12, 2023
9b99999
[GR-47805] Backport to 23.0: darwin aarch64 miscompilation
elkorchi Sep 14, 2023
f806602
[GR-48195] Initialize the physical memory size eagerly.
christianhaeubl Sep 14, 2023
781fa25
Fix "New VarHandle found after static analysis" in Netty 5
Sep 15, 2023
ceb62cc
[GR-48291] Fix ld commandline in toolchain tests for newer versions o…
rschatz Sep 5, 2023
9118dbd
[GR-48657] Update to jvmci-23.0-b19
elkorchi Sep 15, 2023
66b4ef5
[GR-48657] Update to jvmci-23.0-b19
elkorchi Sep 15, 2023
82e1b41
fix style issue
marwan-hallaoui Sep 15, 2023
30aa4f4
[GR-48650] Backport 23.0: Run Sulong tests in Truffle unchained config.
marwan-hallaoui Sep 15, 2023
f01cbea
[GR-48660] Fix "New VarHandle found after static analysis" in Netty 5.
Sep 15, 2023
fcb8daf
[GR-48554] Documentation: Update support doc for Oracle GraalVM for J…
LesiaChaban Sep 18, 2023
f278cb7
Promote to long before shifting when computing array size
tkrodriguez Jul 12, 2023
33bde2c
Add HumongousReferenceObjectTest
tkrodriguez Sep 8, 2023
7e2bd5c
Disable fast path allocation for types which must be slow path allocated
tkrodriguez Jul 13, 2023
003cca1
Filter out explicitly selected GCs
tkrodriguez Sep 16, 2023
59857a6
fix suite.py
marwan-hallaoui Oct 3, 2023
66b451d
[GR-49219] Backport 23.0 : Properly handle negative instance sizes on…
marwan-hallaoui Oct 4, 2023
ba568c3
update to jvmci-23.0-b21
OracleLabsAutomation Oct 11, 2023
a8aeee9
[GR-49390] Update to jvmci-23.0-b21.
OracleLabsAutomation Oct 11, 2023
8bc24f2
GR-49127 : make GraalVM 23.0.2
marwan-hallaoui Oct 4, 2023
9f8fb81
update to jvmci-23.0-b20
OracleLabsAutomation Sep 29, 2023
6064bff
Revert "GR-49127 : make GraalVM 23.0.2"
marwan-hallaoui Oct 16, 2023
2e97234
update to jvmci-23.0-b22
marwan-hallaoui Oct 18, 2023
d313ba0
Ignore failed tests
marwan-hallaoui Oct 19, 2023
a02b1fa
[GR-48895] Update to jvmci-23.0-b22.
OracleLabsAutomation Oct 19, 2023
aeab112
GR-49127 : make GraalVM CE 23.0.2
marwan-hallaoui Oct 4, 2023
799b29b
Merge remote-tracking branch 'oracle/release/graal-vm/23.0' into 2023…
zakkak Oct 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions common.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"oraclejdk11": {"name": "jpg-jdk", "version": "11.0.11", "build_id": "9", "release": true, "platformspecific": true, "extrabundles": ["static-libs"] },

"oraclejdk17": {"name": "jpg-jdk", "version": "17.0.1", "build_id": "12", "release": true, "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-17": {"name": "labsjdk", "version": "ce-17.0.8+7-jvmci-23.0-b15", "platformspecific": true },
"labsjdk-ce-17Debug": {"name": "labsjdk", "version": "ce-17.0.8+7-jvmci-23.0-b15-debug", "platformspecific": true },
"labsjdk-ce-17-llvm": {"name": "labsjdk", "version": "ce-17.0.8+7-jvmci-23.0-b15-sulong", "platformspecific": true },
"labsjdk-ee-17": {"name": "labsjdk", "version": "ee-17.0.8+9-jvmci-23.0-b14", "platformspecific": true },
"labsjdk-ee-17Debug": {"name": "labsjdk", "version": "ee-17.0.8+9-jvmci-23.0-b14-debug", "platformspecific": true },
"labsjdk-ee-17-llvm": {"name": "labsjdk", "version": "ee-17.0.8+9-jvmci-23.0-b14-sulong", "platformspecific": true },
"labsjdk-ce-17": {"name": "labsjdk", "version": "ce-17.0.9+9-jvmci-23.0-b22", "platformspecific": true },
"labsjdk-ce-17Debug": {"name": "labsjdk", "version": "ce-17.0.9+9-jvmci-23.0-b22-debug", "platformspecific": true },
"labsjdk-ce-17-llvm": {"name": "labsjdk", "version": "ce-17.0.9+9-jvmci-23.0-b22-sulong", "platformspecific": true },
"labsjdk-ee-17": {"name": "labsjdk", "version": "ee-17.0.9+11-jvmci-23.0-b21", "platformspecific": true },
"labsjdk-ee-17Debug": {"name": "labsjdk", "version": "ee-17.0.9+11-jvmci-23.0-b21-debug", "platformspecific": true },
"labsjdk-ee-17-llvm": {"name": "labsjdk", "version": "ee-17.0.9+11-jvmci-23.0-b21-sulong", "platformspecific": true },

"oraclejdk19": {"name": "jpg-jdk", "version": "19", "build_id": "26", "release": true, "platformspecific": true, "extrabundles": ["static-libs"]},
"labsjdk-ce-19": {"name": "labsjdk", "version": "ce-19.0.1+10-jvmci-23.0-b04", "platformspecific": true },
Expand Down
9 changes: 7 additions & 2 deletions compiler/mx.compiler/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"sourceinprojectwhitelist" : [],

"groupId" : "org.graalvm.compiler",
"version" : "23.0.2.0",
"release" : True,
"version" : "23.0.2.1",
"release" : False,
"url" : "http://www.graalvm.org/",
"developer" : {
"name" : "GraalVM Development",
Expand Down Expand Up @@ -1526,6 +1526,11 @@
"requires" : [
"jdk.unsupported",
],
"requiresConcealed" : {
"java.base" : [
"jdk.internal.vm.annotation",
]
},
"checkstyle" : "org.graalvm.compiler.graph",
"javaCompliance" : "17+",
"workingSets" : "Graal,Test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public UnimplementedGraalIntrinsics(GraalHotSpotVMConfig config, Architecture ar
"jdk/internal/vm/vector/VectorSupport.unaryOp(ILjava/lang/Class;Ljava/lang/Class;ILjava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;"
// @formatter:on
);
add(ignore,
add(toBeInvestigated,
"jdk/internal/misc/Unsafe.storeStoreFence()V");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,11 @@ public HotSpotAllocationSnippets(GraalHotSpotVMConfig config, HotSpotRegistersPr
@Snippet
protected Object allocateInstance(KlassPointer hub,
@ConstantParameter long size,
@ConstantParameter boolean forceSlowPath,
@ConstantParameter FillContent fillContents,
@ConstantParameter boolean emitMemoryBarrier,
@ConstantParameter HotSpotAllocationProfilingData profilingData) {
Object result = allocateInstanceImpl(hub.asWord(), WordFactory.unsigned(size), fillContents, emitMemoryBarrier, true, profilingData);
Object result = allocateInstanceImpl(hub.asWord(), WordFactory.unsigned(size), forceSlowPath, fillContents, emitMemoryBarrier, true, profilingData);
return piCastToSnippetReplaceeStamp(result);
}

Expand Down Expand Up @@ -194,7 +195,7 @@ public Object allocateInstanceDynamic(@NonNullParameter Class<?> type,
* binding of parameters is not yet supported by the GraphBuilderPlugin system.
*/
UnsignedWord size = WordFactory.unsigned(layoutHelper);
return allocateInstanceImpl(nonNullHub.asWord(), size, fillContents, emitMemoryBarrier, false, profilingData);
return allocateInstanceImpl(nonNullHub.asWord(), size, false, fillContents, emitMemoryBarrier, false, profilingData);
}
} else {
DeoptimizeNode.deopt(None, RuntimeConstraint);
Expand Down Expand Up @@ -657,12 +658,14 @@ public void lower(NewInstanceNode node, LoweringTool tool) {
HotSpotResolvedObjectType type = (HotSpotResolvedObjectType) node.instanceClass();
assert !type.isArray();
ConstantNode hub = ConstantNode.forConstant(KlassPointerStamp.klassNonNull(), type.klass(), tool.getMetaAccess(), graph);
long size = instanceSize(type);
long size = type.instanceSize();

OptionValues localOptions = graph.getOptions();
Arguments args = new Arguments(allocateInstance, graph.getGuardsStage(), tool.getLoweringStage());
args.add("hub", hub);
args.addConst("size", size);
// instanceSize returns a negative number for types which should be slow path allocated
args.addConst("size", Math.abs(size));
args.addConst("forceSlowPath", size < 0);
args.addConst("fillContents", FillContent.fromBoolean(node.fillContents()));
args.addConst("emitMemoryBarrier", node.emitMemoryBarrier());
args.addConst("profilingData", getProfilingData(localOptions, "instance", type));
Expand Down Expand Up @@ -794,11 +797,6 @@ private static HotSpotResolvedObjectType lookupArrayClass(LoweringTool tool, Jav
return HotSpotAllocationSnippets.lookupArrayClass(tool.getMetaAccess(), kind);
}

private static long instanceSize(HotSpotResolvedObjectType type) {
long size = type.instanceSize();
assert size >= 0;
return size;
}
}

private static class HotSpotAllocationProfilingData extends AllocationProfilingData {
Expand Down
Loading
Loading