diff -r 614d6786ba55 -r 9caa094a485f hotspot/src/share/vm/runtime/thread.cpp --- a/hotspot/src/share/vm/runtime/thread.cpp Tue Jul 21 07:28:37 2015 -0700 +++ b/hotspot/src/share/vm/runtime/thread.cpp Thu Jul 23 15:17:58 2015 -0400 @@ -2739,6 +2739,9 @@ if (ct->env() != NULL) { ct->env()->metadata_do(f); } + if (ct->task() != NULL) { + ct->task()->metadata_do(f); + } } }