jtulach commented on code in PR #9142:
URL: https://github.com/apache/netbeans/pull/9142#discussion_r2752886583
##########
java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/TruffleDebugManager.java:
##########
@@ -59,43 +59,50 @@
*/
@DebuggerServiceRegistration(types=LazyDebuggerManagerListener.class)
public class TruffleDebugManager extends DebuggerManagerAdapter {
-
+
private static final Logger LOG =
Logger.getLogger(TruffleDebugManager.class.getName());
-
+
private static final String ENGINE_CLASS = "org.graalvm.polyglot.Engine";
// NOI18N
private static final String ENGINE_BUILDER_CLASS =
"org.graalvm.polyglot.Engine$Builder"; // NOI18N
+ private static final String POLY_IMPL_CLASS =
"com.oracle.truffle.polyglot.PolyglotImpl"; // NOI18N
+ private static final String POLY_IMPL_BUILD_METHOD = "buildEngine"; //
NOI18N
Review Comment:
- the big question to ask:
- _can we rely on `com.oracle.truffle.polyglot.PolyglotImpl.buildEngine`
being there_ in subsequent releases of Truffle API?
- `Engine.Builder.build()` was an official API - it is not going to go away
- `PolyglotImpl.buildEngine(...)` is just an implementation
- but the speedup improvement is tempting
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists