src/hotspot/share/gc/shared/strongRootsScope.cpp
changeset 54385 9559ba212c18
parent 50445 bd6b78feb6a3
--- a/src/hotspot/share/gc/shared/strongRootsScope.cpp	Tue Apr 02 09:45:52 2019 -0700
+++ b/src/hotspot/share/gc/shared/strongRootsScope.cpp	Tue Apr 02 13:08:38 2019 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 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
@@ -37,7 +37,7 @@
 }
 
 StrongRootsScope::StrongRootsScope(uint n_threads) : _n_threads(n_threads) {
-  Threads::change_thread_claim_parity();
+  Threads::change_thread_claim_token();
 }
 
 StrongRootsScope::~StrongRootsScope() {