--- old/src/hotspot/share/gc/shared/owstTaskTerminator.hpp 2018-11-30 15:40:40.439845191 +0100 +++ new/src/hotspot/share/gc/shared/owstTaskTerminator.hpp 2018-11-30 15:40:40.003832149 +0100 @@ -35,9 +35,9 @@ * Understanding and improving JVM GC work stealing at the data center scale * (http://dl.acm.org/citation.cfm?id=2926706) * - * Instead of a dedicated spin-master, our implementation will let spin-master to relinquish - * the role before it goes to sleep/wait, so allows newly arrived thread to compete for the role. - * The intention of above enhancement, is to reduce spin-master's latency on detecting new tasks + * Instead of a dedicated spin-master, our implementation will let spin-master relinquish + * the role before it goes to sleep/wait, allowing newly arrived threads to compete for the role. + * The intention of above enhancement is to reduce spin-master's latency on detecting new tasks * for stealing and termination condition. */ @@ -68,8 +68,7 @@ /* * Perform spin-master task. - * return true if termination condition is detected - * otherwise, return false + * Return true if termination condition is detected, otherwise return false */ bool do_spin_master_work(TerminatorTerminator* terminator); };