Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/nmethod.hpp @ 22736:2dea101cdfe9
Fix assertion failures with G1 barrier logic and guard InstalledCode updates
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Fri, 13 Nov 2015 09:31:04 -0800 |
parents | eada427470a3 |
children | b5f3a471e646 |
comparison
equal
deleted
inserted
replaced
22735:c2b84783a4a4 | 22736:2dea101cdfe9 |
---|---|
627 void set_method(Method* method) { _method = method; } | 627 void set_method(Method* method) { _method = method; } |
628 | 628 |
629 #if INCLUDE_JVMCI | 629 #if INCLUDE_JVMCI |
630 oop jvmci_installed_code() { return _jvmci_installed_code ; } | 630 oop jvmci_installed_code() { return _jvmci_installed_code ; } |
631 char* jvmci_installed_code_name(char* buf, size_t buflen); | 631 char* jvmci_installed_code_name(char* buf, size_t buflen); |
632 | |
633 // Update the state of any InstalledCode instance associated with | |
634 // this nmethod based on the current value of _state. | |
635 void maybe_invalidate_installed_code(); | |
636 | |
637 // Helper function to invalidate InstalledCode instances | |
638 static void invalidate_installed_code(Handle installed_code, TRAPS); | |
639 | |
640 oop speculation_log() { return _speculation_log ; } | |
641 | |
642 private: | |
632 void clear_jvmci_installed_code(); | 643 void clear_jvmci_installed_code(); |
633 void maybe_invalidate_installed_code(); | 644 |
634 oop speculation_log() { return _speculation_log ; } | 645 public: |
635 void set_speculation_log(oop speculation_log) { _speculation_log = speculation_log; } | |
636 #endif | 646 #endif |
637 | 647 |
638 // GC support | 648 // GC support |
639 void do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred); | 649 void do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred); |
640 // The parallel versions are used by G1. | 650 // The parallel versions are used by G1. |