Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8314661

Implement code heap for methods known to be hot/used

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • 22
    • hotspot
    • Fix Understood

      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.

            eastigeevich Evgeny Astigeevich
            eastigeevich Evgeny Astigeevich
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: