8143269: Refactor code in universe_post_init that sets up methods to upcall

Deferred code review cleanups

Reviewed-by: dholmes, hseigel
This commit is contained in:
Coleen Phillimore 2016-03-24 10:19:31 -04:00
parent 49d6460189
commit 1d25ca2a9e
3 changed files with 91 additions and 109 deletions

View file

@ -323,6 +323,9 @@ class Universe: AllStatic {
static Method* do_stack_walk_method() { return _do_stack_walk_cache->get_method(); }
// Function to initialize these
static void initialize_known_methods(TRAPS);
static oop null_ptr_exception_instance() { return _null_ptr_exception_instance; }
static oop arithmetic_exception_instance() { return _arithmetic_exception_instance; }
static oop virtual_machine_error_instance() { return _virtual_machine_error_instance; }