{"action":"created","issue":{"url":"https://api.github.com/repos/OpenLiberty/open-liberty/issues/2313","repository_url":"https://api.github.com/repos/OpenLiberty/open-liberty","labels_url":"https://api.github.com/repos/OpenLiberty/open-liberty/issues/2313/labels{/name}","comments_url":"https://api.github.com/repos/OpenLiberty/open-liberty/issues/2313/comments","events_url":"https://api.github.com/repos/OpenLiberty/open-liberty/issues/2313/events","html_url":"https://github.com/OpenLiberty/open-liberty/pull/2313","id":298707737,"number":2313,"title":"Remove JaxRsModuleMetaData from overlay cache on app shutdown","user":{"login":"andymc12","id":21365299,"avatar_url":"https://avatars2.githubusercontent.com/u/21365299?v=4","gravatar_id":"","url":"https://api.github.com/users/andymc12","html_url":"https://github.com/andymc12","followers_url":"https://api.github.com/users/andymc12/followers","following_url":"https://api.github.com/users/andymc12/following{/other_user}","gists_url":"https://api.github.com/users/andymc12/gists{/gist_id}","starred_url":"https://api.github.com/users/andymc12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymc12/subscriptions","organizations_url":"https://api.github.com/users/andymc12/orgs","repos_url":"https://api.github.com/users/andymc12/repos","events_url":"https://api.github.com/users/andymc12/events{/privacy}","received_events_url":"https://api.github.com/users/andymc12/received_events","type":"User","site_admin":false},"labels":[{"id":696392361,"url":"https://api.github.com/repos/OpenLiberty/open-liberty/labels/in:JAX-RS","name":"in:JAX-RS","color":"bfd4f2","default":false},{"id":732029129,"url":"https://api.github.com/repos/OpenLiberty/open-liberty/labels/team:Wendigo%20West","name":"team:Wendigo West","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":{"login":"andymc12","id":21365299,"avatar_url":"https://avatars2.githubusercontent.com/u/21365299?v=4","gravatar_id":"","url":"https://api.github.com/users/andymc12","html_url":"https://github.com/andymc12","followers_url":"https://api.github.com/users/andymc12/followers","following_url":"https://api.github.com/users/andymc12/following{/other_user}","gists_url":"https://api.github.com/users/andymc12/gists{/gist_id}","starred_url":"https://api.github.com/users/andymc12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymc12/subscriptions","organizations_url":"https://api.github.com/users/andymc12/orgs","repos_url":"https://api.github.com/users/andymc12/repos","events_url":"https://api.github.com/users/andymc12/events{/privacy}","received_events_url":"https://api.github.com/users/andymc12/received_events","type":"User","site_admin":false},"assignees":[{"login":"andymc12","id":21365299,"avatar_url":"https://avatars2.githubusercontent.com/u/21365299?v=4","gravatar_id":"","url":"https://api.github.com/users/andymc12","html_url":"https://github.com/andymc12","followers_url":"https://api.github.com/users/andymc12/followers","following_url":"https://api.github.com/users/andymc12/following{/other_user}","gists_url":"https://api.github.com/users/andymc12/gists{/gist_id}","starred_url":"https://api.github.com/users/andymc12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymc12/subscriptions","organizations_url":"https://api.github.com/users/andymc12/orgs","repos_url":"https://api.github.com/users/andymc12/repos","events_url":"https://api.github.com/users/andymc12/events{/privacy}","received_events_url":"https://api.github.com/users/andymc12/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2018-02-20T18:52:52Z","updated_at":"2018-03-23T03:11:31Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/OpenLiberty/open-liberty/pulls/2313","html_url":"https://github.com/OpenLiberty/open-liberty/pull/2313","diff_url":"https://github.com/OpenLiberty/open-liberty/pull/2313.diff","patch_url":"https://github.com/OpenLiberty/open-liberty/pull/2313.patch"},"body":"It is possible to leak classloaders because the JaxRsModuleMetaData references an app's thread context classloader and is stored in the NonpersistentOverlayCache.  Normally this isn't a problem because the cache is removed when the classloader is removed - which happens at app shutdown, but common shared libraries have their own classloader that does not recycle when the app does - so it remains in the heap, referencing the overlay cache which references the JaxRsModuleMetaData, which references the thread context classloader - leaking it.  \r\n\r\nThe solution is to remove the JaxRsModuleMetaData from the cache when the metadata is destroyed (as part of app shutdown)."},"comment":{"url":"https://api.github.com/repos/OpenLiberty/open-liberty/issues/comments/375530269","html_url":"https://github.com/OpenLiberty/open-liberty/pull/2313#issuecomment-375530269","issue_url":"https://api.github.com/repos/OpenLiberty/open-liberty/issues/2313","id":375530269,"user":{"login":"LibbyBot","id":31047340,"avatar_url":"https://avatars2.githubusercontent.com/u/31047340?v=4","gravatar_id":"","url":"https://api.github.com/users/LibbyBot","html_url":"https://github.com/LibbyBot","followers_url":"https://api.github.com/users/LibbyBot/followers","following_url":"https://api.github.com/users/LibbyBot/following{/other_user}","gists_url":"https://api.github.com/users/LibbyBot/gists{/gist_id}","starred_url":"https://api.github.com/users/LibbyBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LibbyBot/subscriptions","organizations_url":"https://api.github.com/users/LibbyBot/orgs","repos_url":"https://api.github.com/users/LibbyBot/repos","events_url":"https://api.github.com/users/LibbyBot/events{/privacy}","received_events_url":"https://api.github.com/users/LibbyBot/received_events","type":"User","site_admin":false},"created_at":"2018-03-23T03:11:31Z","updated_at":"2018-03-23T03:11:31Z","author_association":"NONE","body":"The build andymc12-2313-20180322-1810\nhttps://wasrtc.hursley.ibm.com:9443/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_nzZGgC0uEeiz4_UsMJK0Bw\ncompleted and has errors or failures."}}
{"actor":{"display_login":"LibbyBot"}}