hotspot/src/share/vm/prims/wbtestmethods/parserTests.hpp
author sspitsyn
Thu, 23 May 2013 23:04:33 -0700
changeset 17828 17131ab4b3b5
parent 15621 b094c56bba84
child 22234 da823d78ad65
permissions -rw-r--r--
8014288: perf regression in nashorn JDK-8008448.js test after 8008511 changes Summary: The fix of perf regression is to use method_idnum() for direct indexing into NMT Reviewed-by: twisti, kvn, coleenp, dholmes Contributed-by: serguei.spitsyn@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     1
/*
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     2
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     4
 *
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     7
 * published by the Free Software Foundation.
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     8
 *
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    13
 * accompanied this code).
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    14
 *
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    18
 *
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    21
 * questions.
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    22
 */
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    23
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    24
#ifndef SHARE_VM_PRIMS_WBTESTMETHODS_PARSERTESTS_H
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    25
#define SHARE_VM_PRIMS_WBTESTMETHODS_PARSERTESTS_H
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    26
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    27
#include "prims/jni.h"
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    28
#include "prims/whitebox.hpp"
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    29
15621
b094c56bba84 8006683: Add WhiteBox API to testing of compiler
iignatyev
parents: 12262
diff changeset
    30
WB_METHOD_DECLARE(jobjectArray) WB_ParseCommandLine(JNIEnv* env, jobject o, jstring args, jobjectArray arguments);
12262
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    31
fb3b9fede660 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents:
diff changeset
    32
#endif //SHARE_VM_PRIMS_WBTESTMETHODS_PARSERTESTS_H