Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalEnv.cpp @ 13641:5a9afbf72714
Add a speculation oop for uncommon trap deoptimization. Save it in the SpeculationLog during deoptimization.
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 12 Dec 2013 15:13:02 +0100 |
parents | 096c224171c4 |
children | 800057208a2c |
comparison
equal
deleted
inserted
replaced
13640:bfe7a8c8c3c6 | 13641:5a9afbf72714 |
---|---|
450 CompileTask* task, | 450 CompileTask* task, |
451 int compile_id, | 451 int compile_id, |
452 bool has_unsafe_access, | 452 bool has_unsafe_access, |
453 GrowableArray<jlong>* leaf_graph_ids, | 453 GrowableArray<jlong>* leaf_graph_ids, |
454 Handle installed_code, | 454 Handle installed_code, |
455 Handle triggered_deoptimizations) { | 455 Handle speculation_log) { |
456 GRAAL_EXCEPTION_CONTEXT; | 456 GRAAL_EXCEPTION_CONTEXT; |
457 NMethodSweeper::possibly_sweep(); | 457 NMethodSweeper::possibly_sweep(); |
458 nm = NULL; | 458 nm = NULL; |
459 int comp_level = CompLevel_simple; | 459 int comp_level = CompLevel_simple; |
460 { | 460 { |
495 offsets, | 495 offsets, |
496 orig_pc_offset, | 496 orig_pc_offset, |
497 debug_info, dependencies, code_buffer, | 497 debug_info, dependencies, code_buffer, |
498 frame_words, oop_map_set, | 498 frame_words, oop_map_set, |
499 handler_table, &implicit_tbl, | 499 handler_table, &implicit_tbl, |
500 compiler, comp_level, leaf_graph_ids, installed_code, triggered_deoptimizations); | 500 compiler, comp_level, leaf_graph_ids, installed_code, speculation_log); |
501 | 501 |
502 // Free codeBlobs | 502 // Free codeBlobs |
503 //code_buffer->free_blob(); | 503 //code_buffer->free_blob(); |
504 | 504 |
505 if (nm == NULL) { | 505 if (nm == NULL) { |