Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Runtime.getRuntime().gc()私たちのプログラムで明示的に使用することの副作用はありますか?
Runtime.getRuntime().gc()
それとも、パフォーマンスを向上させるために同じコードを使用することをお勧めしますか?
Runtime.getRuntime().gc() を使用しても、メモリが解放されるという保証はありません