Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/classLoader.cpp @ 20528:f0bedf980c65
Merge
author | asaha |
---|---|
date | Tue, 16 Sep 2014 13:55:38 -0700 |
parents | 8cb56c8cb30d 2e6106d44079 |
children | 4cb90023bf2b |
comparison
equal
deleted
inserted
replaced
20527:8cb56c8cb30d | 20528:f0bedf980c65 |
---|---|
1616 _compile_the_world_method_counter++; | 1616 _compile_the_world_method_counter++; |
1617 } | 1617 } |
1618 if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) { | 1618 if (TieredCompilation && TieredStopAtLevel >= CompLevel_full_optimization) { |
1619 // Clobber the first compile and force second tier compilation | 1619 // Clobber the first compile and force second tier compilation |
1620 nmethod* nm = m->code(); | 1620 nmethod* nm = m->code(); |
1621 if (nm != NULL) { | 1621 if (nm != NULL && !m->is_method_handle_intrinsic()) { |
1622 // Throw out the code so that the code cache doesn't fill up | 1622 // Throw out the code so that the code cache doesn't fill up |
1623 nm->make_not_entrant(); | 1623 nm->make_not_entrant(); |
1624 m->clear_code(); | 1624 m->clear_code(); |
1625 } | 1625 } |
1626 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_full_optimization, | 1626 CompileBroker::compile_method(m, InvocationEntryBci, CompLevel_full_optimization, |
1635 } else { | 1635 } else { |
1636 tty->print_cr("CompileTheWorld (%d) : Skipping method: %s", _compile_the_world_class_counter, m->name_and_sig_as_C_string()); | 1636 tty->print_cr("CompileTheWorld (%d) : Skipping method: %s", _compile_the_world_class_counter, m->name_and_sig_as_C_string()); |
1637 } | 1637 } |
1638 | 1638 |
1639 nmethod* nm = m->code(); | 1639 nmethod* nm = m->code(); |
1640 if (nm != NULL) { | 1640 if (nm != NULL && !m->is_method_handle_intrinsic()) { |
1641 // Throw out the code so that the code cache doesn't fill up | 1641 // Throw out the code so that the code cache doesn't fill up |
1642 nm->make_not_entrant(); | 1642 nm->make_not_entrant(); |
1643 m->clear_code(); | 1643 m->clear_code(); |
1644 } | 1644 } |
1645 } | 1645 } |