src/share/vm/memory/sharedHeap.hpp

changeset 6968
9fec19bb0659
parent 6198
55fb97c4c58d
child 6971
7426d8d76305
     1.1 --- a/src/share/vm/memory/sharedHeap.hpp	Thu Aug 07 15:02:18 2014 -0700
     1.2 +++ b/src/share/vm/memory/sharedHeap.hpp	Tue Jan 14 16:40:33 2014 +0100
     1.3 @@ -221,7 +221,8 @@
     1.4      SO_AllClasses          = 0x1,
     1.5      SO_SystemClasses       = 0x2,
     1.6      SO_Strings             = 0x4,
     1.7 -    SO_CodeCache           = 0x8
     1.8 +    SO_AllCodeCache        = 0x8,
     1.9 +    SO_ScavengeCodeCache   = 0x10
    1.10    };
    1.11  
    1.12    FlexibleWorkGang* workers() const { return _workers; }
    1.13 @@ -232,9 +233,9 @@
    1.14    // "SO_AllClasses" applies the closure to all entries in the SystemDictionary;
    1.15    // "SO_SystemClasses" to all the "system" classes and loaders;
    1.16    // "SO_Strings" applies the closure to all entries in StringTable;
    1.17 -  // "SO_CodeCache" applies the closure to all elements of the CodeCache.
    1.18 +  // "SO_AllCodeCache" applies the closure to all elements of the CodeCache.
    1.19 +  // "SO_ScavengeCodeCache" applies the closure to elements on the scavenge root list in the CodeCache.
    1.20    void process_strong_roots(bool activate_scope,
    1.21 -                            bool is_scavenging,
    1.22                              ScanningOption so,
    1.23                              OopClosure* roots,
    1.24                              CodeBlobClosure* code_roots,

mercurial