equal
deleted
inserted
replaced
2210 // compile queue lock was held. Subsequently, we acquired the compile |
2210 // compile queue lock was held. Subsequently, we acquired the compile |
2211 // queue lock to get this task off the compile queue; thus (to belabour |
2211 // queue lock to get this task off the compile queue; thus (to belabour |
2212 // the point somewhat) our clearing of the bits must be occurring |
2212 // the point somewhat) our clearing of the bits must be occurring |
2213 // only after the setting of the bits. See also 14012000 above. |
2213 // only after the setting of the bits. See also 14012000 above. |
2214 method->clear_queued_for_compilation(); |
2214 method->clear_queued_for_compilation(); |
2215 |
|
2216 #ifdef ASSERT |
|
2217 if (CollectedHeap::fired_fake_oom()) { |
|
2218 // The current compile received a fake OOM during compilation so |
|
2219 // go ahead and exit the VM since the test apparently succeeded |
|
2220 tty->print_cr("*** Shutting down VM after successful fake OOM"); |
|
2221 vm_exit(0); |
|
2222 } |
|
2223 #endif |
|
2224 } |
2215 } |
2225 |
2216 |
2226 /** |
2217 /** |
2227 * The CodeCache is full. Print warning and disable compilation. |
2218 * The CodeCache is full. Print warning and disable compilation. |
2228 * Schedule code cache cleaning so compilation can continue later. |
2219 * Schedule code cache cleaning so compilation can continue later. |