Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp @ 14358:e5d78f318aec
8026849: Fix typos in the GC code, part 2
Summary: Fixed typos in assert messages, flag descriptions and verbose messages
Reviewed-by: stefank, tschatzl
author | jwilhelm |
---|---|
date | Tue, 10 Dec 2013 15:11:02 +0100 |
parents | 63a4eb8bcd23 |
children | d166675568f6 |
comparison
equal
deleted
inserted
replaced
14357:79aa45434291 | 14358:e5d78f318aec |
---|---|
956 gclog_or_tty->print_cr(" Free fraction %f", free_percentage); | 956 gclog_or_tty->print_cr(" Free fraction %f", free_percentage); |
957 gclog_or_tty->print_cr(" Desired free fraction %f", | 957 gclog_or_tty->print_cr(" Desired free fraction %f", |
958 desired_free_percentage); | 958 desired_free_percentage); |
959 gclog_or_tty->print_cr(" Maximum free fraction %f", | 959 gclog_or_tty->print_cr(" Maximum free fraction %f", |
960 maximum_free_percentage); | 960 maximum_free_percentage); |
961 gclog_or_tty->print_cr(" Capactiy "SIZE_FORMAT, capacity()/1000); | 961 gclog_or_tty->print_cr(" Capacity "SIZE_FORMAT, capacity()/1000); |
962 gclog_or_tty->print_cr(" Desired capacity "SIZE_FORMAT, | 962 gclog_or_tty->print_cr(" Desired capacity "SIZE_FORMAT, |
963 desired_capacity/1000); | 963 desired_capacity/1000); |
964 int prev_level = level() - 1; | 964 int prev_level = level() - 1; |
965 if (prev_level >= 0) { | 965 if (prev_level >= 0) { |
966 size_t prev_size = 0; | 966 size_t prev_size = 0; |
3311 set_verifying(should_verify); // Set verification state for this cycle | 3311 set_verifying(should_verify); // Set verification state for this cycle |
3312 return; // Nothing else needs to be done at this time | 3312 return; // Nothing else needs to be done at this time |
3313 } | 3313 } |
3314 | 3314 |
3315 // Not unloading classes this cycle | 3315 // Not unloading classes this cycle |
3316 assert(!should_unload_classes(), "Inconsitency!"); | 3316 assert(!should_unload_classes(), "Inconsistency!"); |
3317 remove_root_scanning_option(SharedHeap::SO_SystemClasses); | 3317 remove_root_scanning_option(SharedHeap::SO_SystemClasses); |
3318 add_root_scanning_option(SharedHeap::SO_AllClasses); | 3318 add_root_scanning_option(SharedHeap::SO_AllClasses); |
3319 | 3319 |
3320 if ((!verifying() || unloaded_classes_last_cycle()) && should_verify) { | 3320 if ((!verifying() || unloaded_classes_last_cycle()) && should_verify) { |
3321 // Include symbols, strings and code cache elements to prevent their resurrection. | 3321 // Include symbols, strings and code cache elements to prevent their resurrection. |
7241 size_t SurvivorSpacePrecleanClosure::do_object_careful(oop p) { | 7241 size_t SurvivorSpacePrecleanClosure::do_object_careful(oop p) { |
7242 | 7242 |
7243 HeapWord* addr = (HeapWord*)p; | 7243 HeapWord* addr = (HeapWord*)p; |
7244 DEBUG_ONLY(_collector->verify_work_stacks_empty();) | 7244 DEBUG_ONLY(_collector->verify_work_stacks_empty();) |
7245 assert(!_span.contains(addr), "we are scanning the survivor spaces"); | 7245 assert(!_span.contains(addr), "we are scanning the survivor spaces"); |
7246 assert(p->klass_or_null() != NULL, "object should be initializd"); | 7246 assert(p->klass_or_null() != NULL, "object should be initialized"); |
7247 // an initialized object; ignore mark word in verification below | 7247 // an initialized object; ignore mark word in verification below |
7248 // since we are running concurrent with mutators | 7248 // since we are running concurrent with mutators |
7249 assert(p->is_oop(true), "should be an oop"); | 7249 assert(p->is_oop(true), "should be an oop"); |
7250 // Note that we do not yield while we iterate over | 7250 // Note that we do not yield while we iterate over |
7251 // the interior oops of p, pushing the relevant ones | 7251 // the interior oops of p, pushing the relevant ones |