Skip to content

plenty of [org.jruby.EvalType] (value [NONE]) in thread-locals #4529

@kares

Description

@kares

Environment

Tomcat .war deployed with 9.1.7.0 (2.3.1) 2017-01-11 68056ae Java HotSpot(TM) 64-Bit Server VM 24.55-b03 on 1.7.0_55-b13 +jit [linux-x86_64]

Expected Behavior

if possible less (eagerly) thread-locals that are potentially unnecessary.
JRuby 1.7.x caused much less noise on re-deploy ...

Actual Behavior

3000 lines of thread-local warnings such as :

[2017-03-14 09:45:09,880] ERROR [vtscxzt70con1-startStop-2] {org.apache.catalina.loader.WebappClassLoader} The web application [/smb] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@2a094bac]) and a value of type [org.jruby.EvalType] (value [NONE]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

there was already an attempt to resolve this at #4215 (which shipped with 9.1.7.0)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions