Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
8235305: Corrupted oops embedded in nmethods due to parallel modifica…
…tion during optional evacuation During optional evacuation it is possible that G1 modifies oops embedded in nmethods in parallel. One source are oop* gathered by a previous evacuation phase in the optional roots, the other the region's strong code roots list. Since these oops may be unaligned on x64, this can result in them being corrupted. The fix is to not gather embedded oops in the optional roots list as the strong code roots list contains them already. Co-authored-by: Erik Osterlund <firstname.lastname@example.org> Co-authored-by: Stefan Johansson <email@example.com> Co-authored-by: Stefan Karlsson <firstname.lastname@example.org> Reviewed-by: sjohanss, stefank
- Loading branch information
Showing with 13 additions and 3 deletions.