Bug 1031432 - Consider lazy loading of ResourceContext.dataDirectory and .temporaryDirectory
Summary: Consider lazy loading of ResourceContext.dataDirectory and .temporaryDirectory
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugin Container, Performance
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.10
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: JON3-2
TreeView+ depends on / blocked
 
Reported: 2013-11-17 21:11 UTC by Heiko W. Rupp
Modified: 2014-04-23 12:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-23 12:29:26 UTC
Embargoed:


Attachments (Terms of Use)
Screenshot (35.29 KB, image/png)
2013-12-02 20:53 UTC, Heiko W. Rupp
no flags Details

Description Heiko W. Rupp 2013-11-17 21:11:03 UTC
The ResourceContext allocates two file objects backed by a String for the path for each Resource no matter if that resource actually uses them or not.

We should either lazily provide those entries (i.e. initialize on first read access) or get them from a common place like the ResourceContainer of the root server type.

Comment 1 Heiko W. Rupp 2013-12-02 20:53:47 UTC
Created attachment 831774 [details]
Screenshot

Comment 2 Heiko W. Rupp 2014-02-05 09:57:23 UTC
master 2e8dcfc

Comment 3 Heiko W. Rupp 2014-04-23 12:29:26 UTC
Bulk closing of 4.10 issues.

If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.


Note You need to log in before you can comment on or make changes to this bug.