-
Enhancement
-
Resolution: Withdrawn
-
P5
-
25
If we know what methods are always hot or used, for example from training runs, we could provide this information to the C2 compiler. The C2 compiler can put the code of such methods into a special code heap. The special code heap should not remove the code except if it is deoptimized. The special code should provide the space only to the known (marked) methods. Non-marked methods are put into the standard code heaps: NonNMethod, Profiled and NonProfiled. If the special code heap runs out of space, code intended for it goes either to NonProfiled or Profiled.