--- old/src/share/vm/gc/g1/g1StringDedupQueue.hpp 2017-08-24 09:43:54.424500793 -0400 +++ new/src/share/vm/gc/g1/g1StringDedupQueue.hpp 2017-08-24 09:43:54.275501327 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2017, 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 @@ -71,7 +71,7 @@ // Statistics counter, only used for logging. uintx _dropped; - G1StringDedupQueue(); + G1StringDedupQueue(size_t num_queues); ~G1StringDedupQueue(); static void unlink_or_oops_do(G1StringDedupUnlinkOrOopsDoClosure* cl, size_t queue); @@ -79,6 +79,8 @@ public: static void create(); + static void create(size_t num_queues); + // Blocks and waits for the queue to become non-empty. static void wait();