|
|
|
|
|
by haimez
1776 days ago
|
|
Mutable collection type static field members that are actually mutated, sure. Thread creation in a static initializer? Yeah, that’s going to be a leak- but what you said was: > It’s safe to assume that if there’s any statics there’s a permgen leak. private static final int INT_PHI = 0x9e3779b9; // this is a useful constant that can be inlined in JIT code output, and not a memory leak. |
|