Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/mutexLocker.cpp @ 17764:595c0f60d50d
8029075: String deduplication in G1
Summary: Implementation of JEP 192, http://openjdk.java.net/jeps/192
Reviewed-by: brutisso, tschatzl, coleenp
author | pliden |
---|---|
date | Tue, 18 Mar 2014 19:07:22 +0100 |
parents | b2e698d2276c |
children | 52b4284cb496 581e70386ec9 |
comparison
equal
deleted
inserted
replaced
17763:6e7e363c5a8f | 17764:595c0f60d50d |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
56 Mutex* AdapterHandlerLibrary_lock = NULL; | 56 Mutex* AdapterHandlerLibrary_lock = NULL; |
57 Mutex* SignatureHandlerLibrary_lock = NULL; | 57 Mutex* SignatureHandlerLibrary_lock = NULL; |
58 Mutex* VtableStubs_lock = NULL; | 58 Mutex* VtableStubs_lock = NULL; |
59 Mutex* SymbolTable_lock = NULL; | 59 Mutex* SymbolTable_lock = NULL; |
60 Mutex* StringTable_lock = NULL; | 60 Mutex* StringTable_lock = NULL; |
61 Monitor* StringDedupQueue_lock = NULL; | |
62 Mutex* StringDedupTable_lock = NULL; | |
61 Mutex* CodeCache_lock = NULL; | 63 Mutex* CodeCache_lock = NULL; |
62 Mutex* MethodData_lock = NULL; | 64 Mutex* MethodData_lock = NULL; |
63 Mutex* RetData_lock = NULL; | 65 Mutex* RetData_lock = NULL; |
64 Monitor* VMOperationQueue_lock = NULL; | 66 Monitor* VMOperationQueue_lock = NULL; |
65 Monitor* VMOperationRequest_lock = NULL; | 67 Monitor* VMOperationRequest_lock = NULL; |
194 def(OldSets_lock , Mutex , leaf , true ); | 196 def(OldSets_lock , Mutex , leaf , true ); |
195 def(RootRegionScan_lock , Monitor, leaf , true ); | 197 def(RootRegionScan_lock , Monitor, leaf , true ); |
196 def(MMUTracker_lock , Mutex , leaf , true ); | 198 def(MMUTracker_lock , Mutex , leaf , true ); |
197 def(HotCardCache_lock , Mutex , special , true ); | 199 def(HotCardCache_lock , Mutex , special , true ); |
198 def(EvacFailureStack_lock , Mutex , nonleaf , true ); | 200 def(EvacFailureStack_lock , Mutex , nonleaf , true ); |
201 | |
202 def(StringDedupQueue_lock , Monitor, leaf, true ); | |
203 def(StringDedupTable_lock , Mutex , leaf, true ); | |
199 } | 204 } |
200 def(ParGCRareEvent_lock , Mutex , leaf , true ); | 205 def(ParGCRareEvent_lock , Mutex , leaf , true ); |
201 def(DerivedPointerTableGC_lock , Mutex, leaf, true ); | 206 def(DerivedPointerTableGC_lock , Mutex, leaf, true ); |
202 def(CodeCache_lock , Mutex , special, true ); | 207 def(CodeCache_lock , Mutex , special, true ); |
203 def(Interrupt_lock , Monitor, special, true ); // used for interrupt processing | 208 def(Interrupt_lock , Monitor, special, true ); // used for interrupt processing |