Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiExport.cpp @ 881:16c930df1e9b
Merge
author | dcubed |
---|---|
date | Tue, 28 Jul 2009 13:50:07 -0600 |
parents | ea20d7ce26b0 2b4230d1e589 |
children | dcb15a6f342d 4ce7240d622c |
comparison
equal
deleted
inserted
replaced
879:494244ae0171 | 881:16c930df1e9b |
---|---|
1 /* | 1 /* |
2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 2003-2009 Sun Microsystems, Inc. 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. |
2425 // if there aren't any JVMTI environments then nothing to do | 2425 // if there aren't any JVMTI environments then nothing to do |
2426 if (!JvmtiEnv::environments_might_exist()) { | 2426 if (!JvmtiEnv::environments_might_exist()) { |
2427 return; | 2427 return; |
2428 } | 2428 } |
2429 | 2429 |
2430 if (ForceFullGCJVMTIEpilogues) { | |
2431 // force 'Full GC' was done semantics for JVMTI GC epilogues | |
2432 _full = true; | |
2433 } | |
2434 | |
2430 // GarbageCollectionStart event posted from VM thread - okay because | 2435 // GarbageCollectionStart event posted from VM thread - okay because |
2431 // JVMTI is clear that the "world is stopped" and callback shouldn't | 2436 // JVMTI is clear that the "world is stopped" and callback shouldn't |
2432 // try to call into the VM. | 2437 // try to call into the VM. |
2433 if (JvmtiExport::should_post_garbage_collection_start()) { | 2438 if (JvmtiExport::should_post_garbage_collection_start()) { |
2434 JvmtiExport::post_garbage_collection_start(); | 2439 JvmtiExport::post_garbage_collection_start(); |