Java remote debugging overhead -


i wonder additional overhead of remote debugging. start application using hotspot these parameters:

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 

i heard large impact on performance in older versions of hotspot application uses java 8 , can't find date information it.

1.4.0 introduced "full speed debugging" : in previous version of hotspot (prior 1.4.0), when debugging enabled, program executed using interpreter. 1.4.0 , full performance advantage of hotspot technology available programs running debugging enabled. the improved performance allows long running programs more debugged.

after 1.4.1 there not performance related enhancement mentioned oracle in jpda area. last 1 done in jdk 1.4.0 java hotspot client vm , java hotspot server vm in jdk 1.4.1.

so safe no performance improvement expected in debugging area 1.4.1 latest version. otherwise have been mentioned oracle docs.

sources: https://docs.oracle.com/javase/8/docs/technotes/guides/jpda/

please go through links under enhancement section of above link confirm.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -