RFR: 8336401: Remove the option onjcmd from the jdwp agent
    Chris Plummer 
    cjplummer at openjdk.org
       
    Mon Oct  7 16:20:36 UTC 2024
    
    
  
On Mon, 7 Oct 2024 11:47:12 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
> Remove the support for on-demand debugging via the onjcmd option.
test/jdk/jdk/jfr/event/runtime/TestAgentEvent.java line 68:
> 66:  *      testJavaDynamic
> 67:  *
> 68:  * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=:5005
This use of port 5005 could possibly conflict with other tests running in parallel that were already dynamically assigned this port. Is there a reason it can't remain "any"?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21387#discussion_r1790525765
    
    
More information about the serviceability-dev
mailing list