Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,6 @@ public Map<Class<? extends Architecture>, JVMCIBackend> getJVMCIBackends() {
return Collections.unmodifiableMap(backends);
}

@SuppressWarnings("try")
@VMEntryPoint
private HotSpotCompilationRequestResult compileMethod(HotSpotResolvedJavaMethod method, int entryBCI, long compileState, int id) {
HotSpotCompilationRequest request = new HotSpotCompilationRequest(method, entryBCI, compileState, id);
Expand All @@ -981,13 +980,11 @@ private HotSpotCompilationRequestResult compileMethod(HotSpotResolvedJavaMethod
return hsResult;
}

@SuppressWarnings("try")
@VMEntryPoint
private boolean isGCSupported(int gcIdentifier) {
return getCompiler().isGCSupported(gcIdentifier);
}

@SuppressWarnings("try")
@VMEntryPoint
private boolean isIntrinsicSupported(int intrinsicIdentifier) {
return getCompiler().isIntrinsicSupported(intrinsicIdentifier);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 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
Expand Down Expand Up @@ -70,7 +70,6 @@ private static class Audit {
*/
private Object rawAudit;

@SuppressWarnings("serial")
@VMEntryPoint
private IndirectHotSpotObjectConstantImpl(long objectHandle, boolean compressed, boolean skipRegister) {
super(compressed);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2023, 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
Expand Down Expand Up @@ -69,7 +69,6 @@ public final class AnnotationData {
* @throws NullPointerException if any of the above parameters is null or any entry in
* {@code elements} is null
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public AnnotationData(JavaType type, Map.Entry<String, Object>[] elements) {
this.type = Objects.requireNonNull(type);
for (Map.Entry<String, Object> e : elements) {
Expand Down Expand Up @@ -125,7 +124,6 @@ public JavaType getAnnotationType() {
* there was an error parsing or creating the element value
*/
// @formatter:on
@SuppressWarnings("unchecked")
public <V> V get(String name, Class<V> elementType) {
Object val = elements.get(name);
if (val == null) {
Expand Down