hotspot/src/os/aix/vm/libo4.cpp
author attila
Mon, 08 Feb 2016 12:59:08 +0100
changeset 35725 c7a2c18529b1
parent 34647 fafb32d71489
child 35594 cc13089c6327
permissions -rw-r--r--
8149186: Don't use indy for optimistic arithmetic Reviewed-by: mhaupt, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34647
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     1
/*
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     2
 * Copyright 2012, 2015 SAP AG. All rights reserved.
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     4
 *
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     7
 * published by the Free Software Foundation.
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     8
 *
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    13
 * accompanied this code).
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    14
 *
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    18
 *
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    21
 * questions.
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    22
 *
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    23
 */
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    24
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    25
// This is only a stub. Will flesh out later when/if we add further support
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    26
// for PASE.
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    27
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    28
#include "libo4.hpp"
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    29
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    30
bool libo4::init() { return false; }
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    31
void libo4::cleanup() {}
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    32
bool libo4::get_memory_info (unsigned long long* p_virt_total, unsigned long long* p_real_total,
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    33
  unsigned long long* p_real_free, unsigned long long* p_pgsp_total, unsigned long long* p_pgsp_free) {
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    34
  return false;
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    35
}
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    36
bool libo4::get_load_avg (double* p_avg1, double* p_avg5, double* p_avg15) { return false; }
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    37
bool libo4::realpath (const char* file_name, char* resolved_name, int resolved_name_len) { return false; }
fafb32d71489 8143125: [aix] Further Developments for AIX
stuefe
parents:
diff changeset
    38