I am using a profiler to analyze an OOM heap-dump file , and find tons of duplicated Strings . These strings are mostly IDs of wicket components or PropertyModel's expression ... I wonder if it a good practice to "intern()" all these Strings ?
such as : private final static String TIME_STR = "time".intern(); add(new Label(TIME_STR , foobar));