awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
alibaba avatar

alibaba/transmittable-thread-local

0
View on GitHub↗
8,291 stars·1,721 forks·Java·Apache-2.0·2 vuesgithub.com/alibaba/transmittable-thread-local↗

Transmittable Thread Local

This project is a Java thread-local extension and context transmitter designed to preserve execution context across asynchronous boundaries. It provides the mechanisms necessary to pass thread-local variables from parent threads to child threads, ensuring data persists when using thread pool executors.

The library enables automatic context transmission through a Java agent that uses bytecode instrumentation to modify thread pool implementations without requiring source code changes. It also supports transparent instrumentation via executor service wrapping and task decoration for Runnable and Callable objects.

The system manages the capturing and restoration of thread-local state to prevent memory leaks and context pollution in reused pools. It includes support for custom value transmission logic to define how objects are copied between different thread contexts.

Features

  • Bytecode Instrumentation Agents - Provides a Java agent that instruments thread pool implementations to enable automatic context transmission.
  • Context-Capturing Task Wrappers - Decorates Runnable and Callable tasks to capture and restore thread-local state during execution.
  • Thread Pool Context Propagators - Transmits thread-local context from parent threads to tasks within thread pool executions.
  • Runtime Instrumentation Agents - Implements a Java agent that modifies bytecode at runtime to enable context transmission in thread pools.
  • Thread-Local Extensions - Extends Java's ThreadLocal capabilities to allow variable transmission from parent to child threads in executors.
  • Background Task Decorators - Uses decorators to wrap Runnable and Callable tasks for capturing and restoring execution state.
  • Context-Aware Executor Wrappers - Wraps Java executor services to intercept task submission and automatically attach the current thread context.
  • Context-Propagating Executor Wrappers - Wraps executor services to handle automatic context transmission for all submitted tasks.
  • Thread-Local Context Management - Captures thread-local values in snapshots to propagate request-scoped state across asynchronous boundaries.
  • Context Transmission Logic - Provides a custom mechanism to handle deep or shallow object copies during cross-thread value transmission.
  • Task Execution Customizers - Implements custom task execution logic to capture and restore the current thread context.
  • Context Value Copying Strategies - Allows users to define custom copying logic for objects transferred between different thread contexts.
  • Request-Scoped State - Maintains request-scoped data and security contexts across complex thread boundaries in Java frameworks.

Historique des stars

Graphique de l'historique des stars pour alibaba/transmittable-thread-localGraphique de l'historique des stars pour alibaba/transmittable-thread-local

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Transmittable Thread Local

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Transmittable Thread Local.
  • powermock/powermockAvatar de powermock

    powermock/powermock

    4,174Voir sur GitHub↗

    Powermock is a Java mocking framework and unit testing tool that uses bytecode manipulation to mock static methods, final classes, and private constructors. It includes a Java agent instrumentation tool and a reflection-based testing utility to bypass encapsulation and modify class behavior at runtime. The project distinguishes itself by providing the ability to intercept the instantiation of objects via the new keyword and simulate the behavior of core Java system classes and native methods. It can override final modifiers on classes and methods and bypass signature restrictions for classes

    Java
    Voir sur GitHub↗4,174
  • opengoofy/hippo4jAvatar de opengoofy

    opengoofy/hippo4j

    5,993Voir sur GitHub↗

    Hippo4j is a dynamic thread pool management toolkit for Java applications. It provides a centralized platform for monitoring, adjusting, and extending thread pool behavior across distributed systems without requiring application restarts. The project distinguishes itself through runtime thread pool resizing, allowing live modification of core size, maximum size, queue capacity, and rejection policy. It includes an approval-based change workflow that requires administrative authorization before parameter modifications take effect in production. Hippo4j also exposes container thread pools for T

    Javablocking-queuedynamicdynamic-threadpool
    Voir sur GitHub↗5,993
  • alibaba/jvm-sandboxAvatar de alibaba

    alibaba/jvm-sandbox

    6,951Voir sur GitHub↗

    jvm-sandbox is a bytecode instrumentation framework and plugin container for the Java Virtual Machine. It acts as a runtime application modifier that enables the injection and modification of bytecode in a running process without requiring an application restart or changes to the original source code. The system provides a non-invasive aspect-oriented programming framework to intercept method execution and alter behavior in live processes. It functions as an isolated environment for functional modules, employing a custom class loader hierarchy to prevent dependency conflicts between plugins a

    Java
    Voir sur GitHub↗6,951
  • btraceio/btraceAvatar de btraceio

    btraceio/btrace

    5,989Voir sur GitHub↗

    btrace is a JVM dynamic tracing tool and performance profiler used for injecting safe instrumentation scripts into a running Java Virtual Machine without requiring a process restart. It functions as a Java agent framework and a Model Context Protocol server, exposing JVM diagnostic operations and tracing tools to large language models and AI assistants. The project distinguishes itself by enabling real-time code injection and bytecode-level instrumentation via a secure binary protocol. It ensures production stability through a static safety analysis engine that blocks unstable code patterns,

    Javabtracejavajava-application
    Voir sur GitHub↗5,989
Voir les 27 alternatives à Transmittable Thread Local→

Questions fréquentes

Que fait alibaba/transmittable-thread-local ?

This project is a Java thread-local extension and context transmitter designed to preserve execution context across asynchronous boundaries. It provides the mechanisms necessary to pass thread-local variables from parent threads to child threads, ensuring data persists when using thread pool executors.

Quelles sont les fonctionnalités principales de alibaba/transmittable-thread-local ?

Les fonctionnalités principales de alibaba/transmittable-thread-local sont : Bytecode Instrumentation Agents, Context-Capturing Task Wrappers, Thread Pool Context Propagators, Runtime Instrumentation Agents, Thread-Local Extensions, Background Task Decorators, Context-Aware Executor Wrappers, Context-Propagating Executor Wrappers.

Quelles sont les alternatives open-source à alibaba/transmittable-thread-local ?

Les alternatives open-source à alibaba/transmittable-thread-local incluent : powermock/powermock — Powermock is a Java mocking framework and unit testing tool that uses bytecode manipulation to mock static methods,… opengoofy/hippo4j — Hippo4j is a dynamic thread pool management toolkit for Java applications. It provides a centralized platform for… hujiangtechnology/gradle_plugin_android_aspectjx — This project is a Gradle plugin designed to facilitate aspect-oriented programming within Android applications. It… jacoco/jacoco — JaCoCo is a Java code coverage tool and bytecode instrumenter that measures which parts of source code are executed… alibaba/jvm-sandbox — jvm-sandbox is a bytecode instrumentation framework and plugin container for the Java Virtual Machine. It acts as a… btraceio/btrace — btrace is a JVM dynamic tracing tool and performance profiler used for injecting safe instrumentation scripts into a…