--- a/hotspot/src/share/vm/gc/parallel/psParallelCompact.cpp Fri Sep 04 17:33:56 2015 -0700
+++ b/hotspot/src/share/vm/gc/parallel/psParallelCompact.cpp Tue Aug 18 21:32:21 2015 +0200
@@ -958,7 +958,7 @@
{
// Update the from & to space pointers in space_info, since they are swapped
// at each young gen gc. Do the update unconditionally (even though a
- // promotion failure does not swap spaces) because an unknown number of minor
+ // promotion failure does not swap spaces) because an unknown number of young
// collections will have swapped the spaces an unknown number of times.
GCTraceTime tm("pre compact", print_phases(), true, &_gc_timer, _gc_tracer.gc_id());
ParallelScavengeHeap* heap = ParallelScavengeHeap::heap();