ThreadLocal variables are used in Java to bind a variable to the current Thread - each thread will have its own, independend instance of that variable.
The lifecyle of ThreadLocal variables is directly interconnected to the lifecyle of its corespondig thread.
Der Lebenszyklus einer ThreadLocal Instanz ist eng gekoppelt an den Lebenszyklus des entsprechenden Threads.
If for example 200 threads are configured for the thread pool and the ThreadLocal variables are 5MB big, this could result in 1 GB of heaps space occupied by just these ThreadLocal variables.
Sind beispielsweise 200 Threads im ThreadPool aktiv und die ThreadLocal Varibale ist 5MB groß, belegen diese Variablen im schlimmsten Fall bereits 1GB Heap Speicher.
If the servlet or its called Java classes are using ThreadLocal variables, these variables are associated with the current worker thread.
Wird im Servlet oder der aus dem Servlet aufgerufenen Java Klassen eine ThreadLocal Variable genutzt, werden diese mit dem aktuellen Thread assoziiert.
Autres résultats
The high memory consumption is the result of a ThreadLocal variable that references a DOMParser and its parsed document with a total size of 14MB.
Der hohe Speicherverbrauch ist auf eine ThreadLocal Variable zurückzuführen, die eine DOMParser inkl. geparstem Dokument referenziert - insgesamt mehr als 14MB groß.
Depending on the number of threads in the pool (>100 threads are normal in productive environements) and the size of the object in the ThreadLocal variable, critical memory problems can occur.
Je nach Größe des ThreadPools (in produktiven Systemen können das mehrere Hundert Threads sein) und der Größe der Objekte in der ThreadLocal Variable, kann das zu Problemen führen.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.
Aucun résultat pour cette recherche.
Synonymes et analogies de "ThreadLocal variables" en anglais