Bug 60513

Summary: RMI leak cleaning is not thread safe
Product: Tomcat 8 Reporter: Mark Thomas <markt>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: 8.0.30   
Target Milestone: ----   
Hardware: PC   
OS: Mac OS X 10.1   

Description Mark Thomas 2016-12-22 20:24:31 UTC
As reported via users list.

With multiple start/stop threads, concurrent calls are possible to the RMI leak cleaning which is not thread safe.
Comment 1 Remy Maucherat 2017-01-02 14:43:45 UTC
I added sync on the (static) objTable field from sun.rmi.transport.ObjectTable, and this should fix the issue, although I didn't attempt to reproduce the exception.
It will be in 9M16, 8.5.10, 8.0.40 and 7.0.74.