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
@@ -1121,16 +1128,24 @@ protected long getCompilerIdleDelay(OptimizedCallTarget callTarget) {
1121
1128
}
1122
1129
1123
1130
finalOptionDescriptorsgetOptionDescriptors() {
1124
-
// The engineOptions field needs to be initialized lazily because the
1125
-
// OptimizedRuntimeAccessor
1126
-
// cannot be used in the OptimizedTruffleRuntime constructor. The OptimizedTruffleRuntime
1127
-
// must be
1128
-
// fully initialized before using the accessor otherwise a NullPointerException will be
1129
-
// thrown from the Accessor.Constants static initializer because the Truffle#getRuntime
1130
-
// still returns null.
1131
+
/*
1132
+
* The engineOptions field needs to be initialized lazily because the
1133
+
* OptimizedRuntimeAccessor cannot be used in the OptimizedTruffleRuntime constructor. The
1134
+
* OptimizedTruffleRuntime must be fully initialized before using the accessor otherwise a
1135
+
* NullPointerException will be thrown from the Accessor.Constants static initializer
1136
+
* because the Truffle#getRuntime still returns null.
1137
+
*/
1131
1138
OptionDescriptorsres = engineOptions;
1132
1139
if (res == null) {
1133
-
res = OptimizedRuntimeAccessor.LANGUAGE.createOptionDescriptorsUnion(runtimeOptionDescriptors.toArray(newOptionDescriptors[runtimeOptionDescriptors.size()]));
0 commit comments