Mercurial > hg > truffle
diff src/share/vm/prims/jvmtiExport.cpp @ 880:2b4230d1e589
6862295: JDWP threadid changes during debugging session (leading to ingored breakpoints)
Summary: Correctly count full GC operations for framework collectors. Add ForceFullGCJVMTIEpilogues as a future work around if needed.
Reviewed-by: jcoomes, alanb, ysr
author | dcubed |
---|---|
date | Tue, 28 Jul 2009 13:35:00 -0600 |
parents | 37f87013dfd8 |
children | 16c930df1e9b 98cd9901c161 |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiExport.cpp Sat Dec 20 09:58:36 2008 -0800 +++ b/src/share/vm/prims/jvmtiExport.cpp Tue Jul 28 13:35:00 2009 -0600 @@ -1,5 +1,5 @@ /* - * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved. + * Copyright 2003-2009 Sun Microsystems, Inc. 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 @@ -2421,6 +2421,11 @@ return; } + if (ForceFullGCJVMTIEpilogues) { + // force 'Full GC' was done semantics for JVMTI GC epilogues + _full = true; + } + // GarbageCollectionStart event posted from VM thread - okay because // JVMTI is clear that the "world is stopped" and callback shouldn't // try to call into the VM.