Tuesday, 15 June 2010

java - Why is my paused application still creating instance? -



java - Why is my paused application still creating instance? -

i have application memory troubles began play profilers, visualvm.

if launch application in debug , reach breakpoint (wich paused application), still see lot of instances of several classes beingness created (mainly int, char, object, treemap$entry, ...).

why ?

the breakpoint has suspended thread nail it, while other threads happily maintain doing intended work. find out do, names may reveal little, nil beats thread dump (which can have visualvm you).

also, can decide single breakpoint whether should suspend 1 thread, or if should suspend threads. how ide-specific, of course of study (but in "breakpoint properties", or such).

java performance debugging instance

No comments:

Post a Comment