Skip to content

Commit 4bff9f1

Browse files
committed
Logging out time to doInitDebuggerRemoteService
1 parent 6268481 commit 4bff9f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

java/debugger.jpda.truffle/src/org/netbeans/modules/debugger/jpda/truffle/DebugManagerHandler.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,10 @@ void newPolyglotEngineInstance(ObjectReference engine, JPDAThreadImpl thread) {
163163

164164
void initDebuggerRemoteService(JPDAThread thread) {
165165
if (inited.compareAndSet(false, true)) {
166+
long now = System.currentTimeMillis();
166167
doInitDebuggerRemoteService(thread);
168+
long took = System.currentTimeMillis() - now;
169+
LOG.log(Level.FINE, "doInitDebuggerRemoteService took {0} ms", took);
167170
}
168171
}
169172

0 commit comments

Comments
 (0)