Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tryInstall (1.77 sec)

  1. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentInitializer.java

         */
        public void maybeConfigureInstrumentationAgent() {
            if (agentStatus.isAgentInstrumentationEnabled()) {
                DefaultClassFileTransformer.tryInstall();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/DefaultClassFileTransformer.java

                // This is not something we want, so we notify the class loader about this.
                instrumentingLoader.transformFailed(className, th);
                return null;
            }
        }
    
        public static boolean tryInstall() {
            // Installing the same transformer multiple times is very problematic, so additional correctness check is worth it.
            if (!INSTALLED.compareAndSet(false, true)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top