You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/GraalHPyContext.java
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -740,9 +740,8 @@ public static GraalHPyNativeSymbol getGetterFunctionName(LLVMType llvmType) {
740
740
@CompilationFinalprivatelongwcharSize = -1;
741
741
742
742
/**
743
-
* The value of this field is computed using
744
-
* {@link PythonOptions#isHPyUseNativeFastPaths(PythonLanguage)}. We store it in this final
745
-
* field because the value is also used in non-PE code paths.
743
+
* This field mirrors value of {@link PythonOptions#HPyEnableJNIFastPaths}. We store it in this
744
+
* final field because the value is also used in non-PE code paths.
746
745
*/
747
746
privatefinalbooleanuseNativeFastPaths;
748
747
@@ -766,7 +765,7 @@ public static GraalHPyNativeSymbol getGetterFunctionName(LLVMType llvmType) {
thrownewIllegalArgumentException("Backend can be one of: " + Arrays.toString(HPyBackendMode.values()));
87
-
});
88
-
89
78
privatePythonOptions() {
90
79
// no instances
91
80
}
@@ -183,7 +172,7 @@ private PythonOptions() {
183
172
184
173
@EngineOption@Option(category = OptionCategory.INTERNAL, help = "If {@code true}, code is enabled that tries to reduce expensive upcalls into the runtime" +
185
174
"when HPy API functions are used. This is achieved by mirroring data in native memory.", stability = OptionStability.EXPERIMENTAL) //
@Option(category = OptionCategory.INTERNAL, help = "Specify the directory where the JNI library is located.", stability = OptionStability.EXPERIMENTAL) //
0 commit comments