forked from oracle/graal
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backports the following commits: ceaac5f Automatic merge of master into galahad f1a2d95 Automatic merge of master into galahad 59a170e compiler: adopt "JDK-8332826: Make hashCode methods in ArraysSupport friendlier" 2b2754d svm: adopt "JDK-8331189: Implementation of Scoped Values (Third Preview)" 07d3bc2 update galahad-jdk 90def08 compiler: no more JDK 21 style gate in galahad 2a04dde Automatic merge of master into galahad d2f6535 Automatic merge of master into galahad e1771d1 Automatic merge of master into galahad 268aa8d reduce galahad gate to bare minimum 3bd8754 [JDK-8333292] Fix libgraal build broken by JDK-8331189. 188f35a Fix libgraal build broken by JDK-8331877. 95415ad [JDK-8333362] Fix libgraal build broken by JDK-8331877. 3fbd87a Automatic merge of master into galahad 93923e4 Automatic merge of master into galahad a29b4da Automatic merge of master into galahad ee5cef4 Automatic merge of master into galahad 8b40a6a Automatic merge of master into galahad 4d34880 Merge master into galahad 414d874 [GR-54472] Resolve merge conflits. 78ec64e Automatic merge of master into galahad 768bab8 Automatic merge of master into galahad ca7c3ca Automatic merge of master into galahad 4ce7fe8 Automatic merge of master into galahad 02a83e9 Automatic merge of master into galahad b6f3365 Automatic merge of master into galahad 859ea9d Fix incorrect resolution of merge conflicts for VectorizedHashCodeTest 8f4c214 Automatic merge of master into galahad bdedb09 Automatic merge of master into galahad 103dbca Automatic merge of master into galahad
- Loading branch information
Showing
10 changed files
with
130 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
47 changes: 47 additions & 0 deletions
47
...m.oracle.svm.core/src/com/oracle/svm/core/jfr/Name_jdk_jfr_internal_JDKEvents_helper.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright (c) 2024, 2024, Oracle and/or its affiliates. All rights reserved. | ||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
* | ||
* This code is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License version 2 only, as | ||
* published by the Free Software Foundation. Oracle designates this | ||
* particular file as subject to the "Classpath" exception as provided | ||
* by Oracle in the LICENSE file that accompanied this code. | ||
* | ||
* This code is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
* version 2 for more details (a copy is included in the LICENSE file that | ||
* accompanied this code). | ||
* | ||
* You should have received a copy of the GNU General Public License version | ||
* 2 along with this work; if not, write to the Free Software Foundation, | ||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
* | ||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | ||
* or visit www.oracle.com if you need additional information or have any | ||
* questions. | ||
*/ | ||
package com.oracle.svm.core.jfr; | ||
|
||
import java.util.function.Function; | ||
|
||
import org.graalvm.nativeimage.Platform; | ||
import org.graalvm.nativeimage.Platforms; | ||
|
||
import com.oracle.svm.core.annotate.TargetClass; | ||
|
||
import jdk.graal.compiler.serviceprovider.JavaVersionUtil; | ||
|
||
@Platforms(Platform.HOSTED_ONLY.class) | ||
public final class Name_jdk_jfr_internal_JDKEvents_helper implements Function<TargetClass, String> { | ||
|
||
@Override | ||
public String apply(TargetClass annotation) { | ||
if (JavaVersionUtil.JAVA_SPEC >= 23) { | ||
return "jdk.jfr.internal.JDKEvents"; | ||
} else { | ||
return "jdk.jfr.internal.instrument.JDKEvents"; | ||
} | ||
} | ||
} |
This file contains 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
Oops, something went wrong.