8074553: Crash with assert(!is_unloaded()) failed: should not call follow on unloaded nmethod

Sweeper thread needs to override nmethods_do() to prevent G1 from unloading _scanned_nmethod.

Reviewed-by: kvn, mgerdin
2 files changed