Tagged in: Untagged
JTraining Blog
A short description about your blog
Tagged in: Untagged
Tagged in: Untagged
Tagged in: Untagged
Tagged in: Untagged
Tagged in: Untagged
Tagged in: Untagged
Tagged in: Untagged
Probably most of the Java users is aware that String object is more complex than just an array of char. To make the usage of strings in Java more robust additional measures were taken – for instance the String pool was created to save memory by reusing the same String objects instead of allocating new ones.
Another optimisation that is adding the offset and count fields to the String object instances to improve the performance of substring() method. Even though this mechanism is very helpful in practice, not many people are aware how easily you can create a major memory leak because of that! (check out this article if you're interested). It is funny how in Java even simpliest stuff can bite you in your behind:)
Latest blog entries:
Java / Frontend jobs (Netherlands)
- Java Lead Developer / Technisch Architect - Java, J2ee, Risk, Schiphol-Rijk
- Javascript / jQuery / Ajax Developer, Den Bosch
- Java Architect, Haarlem / Randstad
- Java developer with risk management experience, Schiphol-Rijk (near Amsterdam)
- Java EE Developer, inhouse, J2EE, Java EE, Hibernate, Seam, Almere
- Hippo 7 ontwikkelaar, Haarlem / Randstad
- Java Portal ontwikkelaar, Haarlem / Randstad
- Java EE Ontwikkelaar (Java, JSP, Websphere, J2ee), Varsseveld
- Java EE Developer, Haarlem / Randstad
- Senior Java EE Developer, Almere / Randstad
- Portal / Java Front end specialist, Almere
- Enthousiaste PHP ontwikkelaar, Den Haag
- Senior Front-end Engineer Professional Services, Amsterdam
- UI Designer / Frontend developer, trading, CSS, HTML, Ajax, Amsterdam
- PHP ontwikkelaar, Eindhoven
- C# Webontwikkelaar, Visual Studio, Javascript,
Tags:
Blogs:
| evdh (45) |
|
| sneake75@hotmail.com (7) |
|
| svanhugten (21) |
|
| dhrubo (2) |
|
| Bram (29) |
|
| itajun (3) |
|
| farmerzen (2) |
|
| ppow (9) |
|
| fsalinas (4) |
|
| Casyi (13) |
|
| admin (4) |
|
| rpnman (2) |
|
| JavaGuy (2) |
|
| ludovicc (1) |
|
| archie (1) |
|
| gcsaba2 (1) |
|
| david (1) |
|
| JaywayPhil (1) |
|
| mironsadziak (2) |
|
| Zhak (3) |
|
Home
Community