< prev index next >
src/share/vm/gc_implementation/shenandoah/shenandoahStrDedupQueue.cpp
Print this page
rev 10715 : [backport] Cleanup up superfluous newlines
rev 10772 : [backport] Update copyrights
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2017, 2018, Red Hat, Inc. and/or its affiliates.
+ * Copyright (c) 2017, 2018, Red Hat, Inc. All rights reserved.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
@@ -88,11 +88,10 @@
FREE_C_HEAP_ARRAY(QueueChunkedList*, _outgoing_work_list, mtGC);
delete _lock;
}
-
size_t ShenandoahStrDedupQueueSet::claim() {
size_t index = (size_t)Atomic::add(1, (volatile jint*)&_claimed) - 1;
return index;
}
< prev index next >