#include "incls/_precompiled.incl"
#include "incls/_util.cpp.incl"
#include <string.h>
Include dependency graph for util.cpp:
Go to the source code of this file.
Defines | |
#define | LOOP_UNROLL(count, body) |
#define | DO_UP(from) LOOP_UNROLL(count, *to++ = from) |
#define | DO_DOWN(from) LOOP_UNROLL(count, *--to = from) |
Functions | |
void | printIndent () |
void | copy_oops_down (oop *from, oop *to, int count) |
char * | copy_string (char *s) |
char * | copy_c_heap_string (char *s) |
char * | copy_string (char *s, smi len) |
void | breakpoint () |
void | error_breakpoint () |
Variables | |
int | Indent = 0 |
oop | catchThisOne |
#define DO_DOWN | ( | from | ) | LOOP_UNROLL(count, *--to = from) |
#define LOOP_UNROLL | ( | count, | |||
body | ) |
Value:
{ \ assert(count >= 0, "cannot have negative count in loop unroll"); \ int __c1__ = count; \ for (int __c__ = __c1__ >> 3; __c__; __c__ --) { \ body; body; \ body; body; \ body; body; \ body; body; \ } \ switch (maskBits(__c1__, nthMask(3))) { \ case 7: body; \ case 6: body; \ case 5: body; \ case 4: body; \ case 3: body; \ case 2: body; \ case 1: body; \ case 0: ; \ } }
void breakpoint | ( | ) |
Definition at line 148 of file util.cpp.
References os::breakpoint(), and flush_logFile().
Here is the call graph for this function:
char* copy_c_heap_string | ( | char * | s | ) |
char* copy_string | ( | char * | s, | |
smi | len | |||
) |
char* copy_string | ( | char * | s | ) |
void error_breakpoint | ( | ) |
Definition at line 153 of file util.cpp.
References breakpoint().
Here is the call graph for this function:
void printIndent | ( | ) |
int Indent = 0 |