Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
3 Recommendations
Rec. 05. Object Orientation (OBJ)
OBJ55-J. Remove short-lived objects from long-lived container objects
Page Information
Title:
OBJ55-J. Remove short-lived objects from long-lived container objects
Author:
Fred Long
Aug 24, 2012
Last Changed by:
Will Snavely
Nov 16, 2017
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/wDZGBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT Oracle Coding Standard for Java (1)
Page:
OBJ54-J. Do not attempt to help the garbage collector by setting local reference variables to null
Hierarchy
Parent Page
Page:
Rec. 05. Object Orientation (OBJ)
Labels
Global Labels (9)
good-practice
review-dms
review-dfs
reviewed-fwl
android-applicable
new
recommendation
3reliability
obj
Recent Changes
Time
Editor
Nov 16, 2017 14:43
Will Snavely
View Changes
Apr 07, 2015 12:01
Will Snavely
View Changes
Mar 30, 2015 15:52
Will Snavely
View Changes
Mar 05, 2015 07:46
Barbara White
View Changes
Oct 20, 2014 10:19
David Svoboda
View Page History
Outgoing Links
External Links (4)
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://www.securecoding.cert.org/confluence/display/java/E…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT Oracle Coding Standard for Java (4)
Page:
OBJ54-J. Do not attempt to help the garbage collector by setting local reference variables to null
Page:
Rec. AA. References
Page:
Java Coding Guidelines
Page:
MET55-J. Return an empty array or collection instead of a null value for methods that return an array or collection
Overview
Content Tools
{"serverDuration": 68, "requestCorrelationId": "06fdb7f73699a116"}