6926048: Improve Zero performance

Make Zero figure out result types in a similar way to C++ interpreter implementation.

Reviewed-by: kvn
This commit is contained in:
Gary Benson 2010-02-12 10:34:11 -08:00 committed by Vladimir Kozlov
parent d4437819bd
commit 17a0e10b07
2 changed files with 30 additions and 5 deletions

View file

@ -1,6 +1,6 @@
/*
* Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2007, 2008 Red Hat, Inc.
* Copyright 2007, 2008, 2010 Red Hat, Inc.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -41,3 +41,7 @@
private:
// Stack overflow checks
static bool stack_overflow_imminent(JavaThread *thread);
private:
// Fast result type determination
static BasicType result_type_of(methodOop method);