This repository was archived by the owner on Aug 17, 2018. It is now read-only.
Commit 2a4ac4b
Kin Man Chung
- Fix a potential memory leak: JspServlet holds an instance of
JspRuntimeContext, which in term, holds an instance of the WebAppClassLoader.
Since JspServlet is loaded with the first JSP application, and has the
life time of the web container, this WebAppClassLoader is kept alive, even
after the application is undeployed.
svn path=/trunk/; revision=12751 parent 7378736 commit 2a4ac4b
File tree
2 files changed
+11
-13
lines changed- impl/src/main/java/org/apache/jasper
- compiler
2 files changed
+11
-13
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| |||
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 174 | | |
| 175 | + | |
181 | 176 | | |
182 | 177 | | |
183 | 178 | | |
| |||
221 | 216 | | |
222 | 217 | | |
223 | 218 | | |
224 | | - | |
225 | 219 | | |
226 | 220 | | |
227 | 221 | | |
| |||
318 | 312 | | |
319 | 313 | | |
320 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
321 | 320 | | |
322 | 321 | | |
323 | 322 | | |
| |||
341 | 340 | | |
342 | 341 | | |
343 | 342 | | |
344 | | - | |
345 | | - | |
346 | 343 | | |
347 | 344 | | |
348 | 345 | | |
| |||
580 | 577 | | |
581 | 578 | | |
582 | 579 | | |
| 580 | + | |
583 | 581 | | |
584 | 582 | | |
585 | 583 | | |
| |||
0 commit comments