Skip to content

Commit

Permalink
Java : Memory and performance tuning jvm - escaping references
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjacobmorris committed Dec 8, 2024
1 parent d8803aa commit b3b0f53
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Java/Performance and Memory/PerformanceAndMemoryTuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ JIT compilation provides several benefits, including faster execution times and
> 2) the objects are passed by copying the value of reference while the actual object actually resides in the heap.
### Metaspace

### Escaping References

* using iterator
* copying the collections
* using immutable collections
* using copy constructor
* using interface to create immutable objects

## Runtime Optimization
### JVM Params
| Flag | Description |
Expand Down

0 comments on commit b3b0f53

Please sign in to comment.