Project

Profile

Help

Bug #2230

closed

Large number of class loaders created in byte code

Added by O'Neil Delpratt about 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Byte code generation
Sprint/Milestone:
-
Start date:
2014-11-20
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Reported by Chris Lee:

Investigating the compiled memory usage for a series of 22 large/complex XSL templates compiled with Saxon EE 9.5.1.5 (bytecode optimization enabled) & cached. A large number of Class Loaders are present in the profile: ‘net.sf.saxon.java.JavaPlatform$1’ – 29,319 of them, for a retained size of ~10.5M (~8% of the total retained memory for stylesheets of ~133M).

Seems like there is one classloader for each generated class (compiled template)?

Bug present in Saxon 9.5 and 9.6.

Please register to edit this issue

Also available in: Atom PDF