Skip to content

Commit

Permalink
JVM: garbage collection part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
josephjacobmorris committed Dec 20, 2024
1 parent 4b9eefb commit 1bd27f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Java/Performance and Memory/PerformanceAndMemoryTuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ Metaspace is subject to garbage collection, meaning that unused class metadata c
### Interning Strings
String `intern()` enusures that for the same value of string same object is re-used. It is useful when there are strings calculated and having the same value.

### Garbage collection
Any object which cannot be reached from stack,metaspace will be garbage collected.

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

0 comments on commit 1bd27f3

Please sign in to comment.