Mercurial > hg > truffle
comparison src/share/vm/graal/graalRuntime.cpp @ 10434:8b22524df53b
Add G1 Barriers' foreign calls
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Thu, 20 Jun 2013 16:10:14 +0200 |
parents | 62ea8789b88a |
children | 3489047ffea2 |
comparison
equal
deleted
inserted
replaced
10433:d7f4cc510a88 | 10434:8b22524df53b |
---|---|
356 if (newline) { | 356 if (newline) { |
357 tty->cr(); | 357 tty->cr(); |
358 } | 358 } |
359 JRT_END | 359 JRT_END |
360 | 360 |
361 JRT_LEAF(void, GraalRuntime::write_barrier_pre(JavaThread* thread, oopDesc* obj)) | |
362 thread->satb_mark_queue().enqueue(obj); | |
363 JRT_END | |
364 | |
365 JRT_LEAF(void, GraalRuntime::write_barrier_post(JavaThread* thread, void* card_addr)) | |
366 thread->dirty_card_queue().enqueue(card_addr); | |
367 JRT_END | |
368 | |
361 JRT_ENTRY(void, GraalRuntime::vm_error(JavaThread* thread, oop where, oop format, jlong value)) | 369 JRT_ENTRY(void, GraalRuntime::vm_error(JavaThread* thread, oop where, oop format, jlong value)) |
362 ResourceMark rm; | 370 ResourceMark rm; |
363 assert(where == NULL || java_lang_String::is_instance(where), "must be"); | 371 assert(where == NULL || java_lang_String::is_instance(where), "must be"); |
364 const char *error_msg = where == NULL ? "<internal Graal error>" : java_lang_String::as_utf8_string(where); | 372 const char *error_msg = where == NULL ? "<internal Graal error>" : java_lang_String::as_utf8_string(where); |
365 char *detail_msg = NULL; | 373 char *detail_msg = NULL; |