comparison src/share/vm/runtime/frame.cpp @ 14309:63a4eb8bcd23

8025856: Fix typos in the GC code Summary: Fix about 440 typos in comments in the VM code Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
author jwilhelm
date Thu, 23 Jan 2014 14:47:23 +0100
parents 190899198332
children 8a9bb7821e28 be0ac0e8f6e7
comparison
equal deleted inserted replaced
14308:870aedf4ba4f 14309:63a4eb8bcd23
647 interpreter_frame_method()->print_name(st); 647 interpreter_frame_method()->print_name(st);
648 st->cr(); 648 st->cr();
649 #endif 649 #endif
650 } 650 }
651 651
652 // Return whether the frame is in the VM or os indicating a Hotspot problem. 652 // Print whether the frame is in the VM or OS indicating a HotSpot problem.
653 // Otherwise, it's likely a bug in the native library that the Java code calls, 653 // Otherwise, it's likely a bug in the native library that the Java code calls,
654 // hopefully indicating where to submit bugs. 654 // hopefully indicating where to submit bugs.
655 void frame::print_C_frame(outputStream* st, char* buf, int buflen, address pc) { 655 void frame::print_C_frame(outputStream* st, char* buf, int buflen, address pc) {
656 // C/C++ frame 656 // C/C++ frame
657 bool in_vm = os::address_is_in_vm(pc); 657 bool in_vm = os::address_is_in_vm(pc);
926 if (cld_f != NULL) { 926 if (cld_f != NULL) {
927 // The method pointer in the frame might be the only path to the method's 927 // The method pointer in the frame might be the only path to the method's
928 // klass, and the klass needs to be kept alive while executing. The GCs 928 // klass, and the klass needs to be kept alive while executing. The GCs
929 // don't trace through method pointers, so typically in similar situations 929 // don't trace through method pointers, so typically in similar situations
930 // the mirror or the class loader of the klass are installed as a GC root. 930 // the mirror or the class loader of the klass are installed as a GC root.
931 // To minimze the overhead of doing that here, we ask the GC to pass down a 931 // To minimize the overhead of doing that here, we ask the GC to pass down a
932 // closure that knows how to keep klasses alive given a ClassLoaderData. 932 // closure that knows how to keep klasses alive given a ClassLoaderData.
933 cld_f->do_cld(m->method_holder()->class_loader_data()); 933 cld_f->do_cld(m->method_holder()->class_loader_data());
934 } 934 }
935 935
936 #if !defined(PPC) || defined(ZERO) 936 #if !defined(PPC) || defined(ZERO)