hotspot/src/share/vm/code/codeCache.hpp
changeset 26919 361b4b4c92c0
parent 26796 666464578742
child 26942 fa5ea7ff078d
equal deleted inserted replaced
26918:4e1761669426 26919:361b4b4c92c0
    39 
    39 
    40 // -- Implementation --
    40 // -- Implementation --
    41 // The CodeCache consists of one or more CodeHeaps, each of which contains
    41 // The CodeCache consists of one or more CodeHeaps, each of which contains
    42 // CodeBlobs of a specific CodeBlobType. Currently heaps for the following
    42 // CodeBlobs of a specific CodeBlobType. Currently heaps for the following
    43 // types are available:
    43 // types are available:
    44 //  - Non-methods: Non-methods like Buffers, Adapters and Runtime Stubs
    44 //  - Non-nmethods: Non-nmethods like Buffers, Adapters and Runtime Stubs
    45 //  - Profiled nmethods: nmethods that are profiled, i.e., those
    45 //  - Profiled nmethods: nmethods that are profiled, i.e., those
    46 //    executed at level 2 or 3
    46 //    executed at level 2 or 3
    47 //  - Non-Profiled nmethods: nmethods that are not profiled, i.e., those
    47 //  - Non-Profiled nmethods: nmethods that are not profiled, i.e., those
    48 //    executed at level 1 or 4 and native methods
    48 //    executed at level 1 or 4 and native methods
    49 //  - All: Used for code of all types if code cache segmentation is disabled.
    49 //  - All: Used for code of all types if code cache segmentation is disabled.
    50 //
    50 //
    51 // In the rare case of the non-method code heap getting full, non-method code
    51 // In the rare case of the non-nmethod code heap getting full, non-nmethod code
    52 // will be stored in the non-profiled code heap as a fallback solution.
    52 // will be stored in the non-profiled code heap as a fallback solution.
    53 //
    53 //
    54 // Depending on the availability of compilers and TieredCompilation there
    54 // Depending on the availability of compilers and TieredCompilation there
    55 // may be fewer heaps. The size of the code heaps depends on the values of
    55 // may be fewer heaps. The size of the code heaps depends on the values of
    56 // ReservedCodeCacheSize, NonProfiledCodeHeapSize and ProfiledCodeHeapSize
    56 // ReservedCodeCacheSize, NonProfiledCodeHeapSize and ProfiledCodeHeapSize