src/hotspot/share/runtime/sweeper.cpp
changeset 54385 9559ba212c18
parent 53651 0331b08811ad
child 54623 1126f0607c70
--- a/src/hotspot/share/runtime/sweeper.cpp	Tue Apr 02 09:45:52 2019 -0700
+++ b/src/hotspot/share/runtime/sweeper.cpp	Tue Apr 02 13:08:38 2019 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -219,7 +219,7 @@
   NMethodMarkingTask(NMethodMarkingThreadClosure* cl) :
     AbstractGangTask("Parallel NMethod Marking"),
     _cl(cl) {
-    Threads::change_thread_claim_parity();
+    Threads::change_thread_claim_token();
   }
 
   ~NMethodMarkingTask() {