Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp @ 989:148e5441d916
6863023: need non-perm oops in code cache for JSR 292
Summary: Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
author | jrose |
---|---|
date | Tue, 15 Sep 2009 21:53:47 -0700 |
parents | df6caf649ff7 |
children | 39b01ab7035a |
comparison
equal
deleted
inserted
replaced
987:00977607da34 | 989:148e5441d916 |
---|---|
960 | 960 |
961 // Delegate the resize to the generation. | 961 // Delegate the resize to the generation. |
962 _old_gen->resize(desired_free_space); | 962 _old_gen->resize(desired_free_space); |
963 } | 963 } |
964 | 964 |
965 ParallelScavengeHeap::ParStrongRootsScope::ParStrongRootsScope() { | |
966 // nothing particular | |
967 } | |
968 | |
969 ParallelScavengeHeap::ParStrongRootsScope::~ParStrongRootsScope() { | |
970 // nothing particular | |
971 } | |
972 | |
965 #ifndef PRODUCT | 973 #ifndef PRODUCT |
966 void ParallelScavengeHeap::record_gen_tops_before_GC() { | 974 void ParallelScavengeHeap::record_gen_tops_before_GC() { |
967 if (ZapUnusedHeapArea) { | 975 if (ZapUnusedHeapArea) { |
968 young_gen()->record_spaces_top(); | 976 young_gen()->record_spaces_top(); |
969 old_gen()->record_spaces_top(); | 977 old_gen()->record_spaces_top(); |