Re: RFR: 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents [v6]

2023-06-01 Thread Alan Bateman
On Thu, 1 Jun 2023 05:55:43 GMT, Alan Bateman wrote: >> src/hotspot/share/prims/jvmtiAgentList.cpp line 231: >> >>> 229:if (agent->is_static_lib() && agent->is_loaded()) { >>> 230: return true; >>> 231:} >> >> This doesn't make sense to me. If you pass in `null` for

Re: RFR: 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents [v6]

2023-05-31 Thread Alan Bateman
On Wed, 31 May 2023 20:37:23 GMT, Chris Plummer wrote: >> Alan Bateman has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 14 additional >> commits

Re: RFR: 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents [v6]

2023-05-31 Thread Chris Plummer
On Mon, 29 May 2023 09:37:08 GMT, Alan Bateman wrote: >> This is the implementation for JEP 451. There are two parts to this: >> >> 1. A multi-line warning is printed when a JVM TI or Java agent is loaded >> into a running VM. For JVM TI, the message is printed to stderr from >>

Re: RFR: 8307478: Implementation of Prepare to Restrict The Dynamic Loading of Agents [v6]

2023-05-29 Thread Alan Bateman
> This is the implementation for JEP 451. There are two parts to this: > > 1. A multi-line warning is printed when a JVM TI or Java agent is loaded into > a running VM. For JVM TI, the message is printed to stderr from > JvmtiAgent::load. For Java agents, it is printed to System.err (as that