1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-29 19:23:38 +02:00
cdt/debug/org.eclipse.cdt.debug.core
Alex Blewitt fc07efa909 Bug 491825 - Remove primitive wrapper creation
Using `new Integer` and other wrapper types such as `new Character` results in
potential extra heap utilisation as the values are not cached. The built-in
`Integer.valueOf` will perform caching on numbers in the range -128..127 (at
least) using a flyweight pattern. In addition, parsing `int` values can be done
with `Integer.parseInt` which avoids object construction.

Adjust tests such as `"true".equals(expr)` to `Boolean.parseBoolean(expr)`.

Change-Id: I0408a5c69afc4ca6ede71acaf6cc4abd67538006
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-16 12:17:48 -04:00
..
.settings Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
META-INF Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
schema Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
src/org/eclipse/cdt/debug Bug 491825 - Remove primitive wrapper creation 2016-04-16 12:17:48 -04:00
.classpath Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
.cvsignore
.options Pattern for using DebugTrace within plug-ins. 2011-04-13 15:57:45 +00:00
.project Fix API tooling problems and first pass and cleanup of the Executables view sources. Does not yet include all changes from the patch in bug 265796 2009-02-25 15:24:14 +00:00
about.html
build.properties Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
ChangeLog
ChangeLog-2003
NEWS
plugin.properties Bug 400628 - Support Dynamic Printf 2014-05-01 16:05:03 -04:00
plugin.xml Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00
pom.xml Bug 484900: Remove Majority of CDI classes 2016-03-08 19:18:05 -05:00