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 EE Developer, GWT, Spring, Java, J2EE, Amsterdam
- Java EE Developer, Utrecht
- Java EE Architect, Utrecht
- Scrum Master / Senior Java EE Developer, Utrecht
- Senior Java ontwikkelaar, trading, front-office, Amsterdam
- Java / C++ developer / integration, trading, connectivity, Amsterdam
- Senior Java EE developer, trading, Java, J2EE, Amsterdam
- UI Designer / Frontend developer, trading, CSS, HTML, Ajax, Amsterdam
- Frontend / Web developer (CSS / Javascript / CMS), Almere / Den Bosch
- Java EE Ontwikkelaar, Almere / Den Bosch
- Afstudeerder voor web marketing / commercie project, Utrecht / Randstad / Thuis
- Java EE Architect / techlead / senior developer, Java, J2EE, Amsterdam
- Senior Front-end Engineer Professional Services, Amsterdam
Tags:
Blogs:
| evdh (45) |
|
| sneake75@hotmail.com (7) |
|
| svanhugten (21) |
|
| dhrubo (1) |
|
| Bram (14) |
|
| farmerzen (2) |
|
| ppow (9) |
|
| itajun (2) |
|
| admin (3) |
|
| rpnman (2) |
|
| JavaGuy (2) |
|
| ludovicc (1) |
|
| fsalinas (2) |
|
| archie (1) |
|
| gcsaba2 (1) |
|
| david (1) |
|
| mironsadziak (2) |
|
| JaywayPhil (1) |
|
Home
Community