@@ -330,8 +330,6 @@ class Parse : public GraphKit {
330
330
bool _wrote_volatile; // Did we write a volatile field?
331
331
bool _wrote_stable; // Did we write a @Stable field?
332
332
bool _wrote_fields; // Did we write any field?
333
- bool _count_invocations; // update and test invocation counter
334
- bool _method_data_update; // update method data oop
335
333
Node* _alloc_with_final; // An allocation node with final field
336
334
337
335
// Variables which track Java semantics during bytecode parsing:
@@ -377,8 +375,6 @@ class Parse : public GraphKit {
377
375
void set_wrote_stable (bool z) { _wrote_stable = z; }
378
376
bool wrote_fields () const { return _wrote_fields; }
379
377
void set_wrote_fields (bool z) { _wrote_fields = z; }
380
- bool count_invocations () const { return _count_invocations; }
381
- bool method_data_update () const { return _method_data_update; }
382
378
Node* alloc_with_final () const { return _alloc_with_final; }
383
379
void set_alloc_with_final (Node* n) {
384
380
assert ((_alloc_with_final == NULL ) || (_alloc_with_final == n), " different init objects?" );
@@ -500,9 +496,6 @@ class Parse : public GraphKit {
500
496
// Helper function to uncommon-trap or bailout for non-compilable call-sites
501
497
bool can_not_compile_call_site (ciMethod *dest_method, ciInstanceKlass *klass);
502
498
503
- // Helper function to setup for type-profile based inlining
504
- bool prepare_type_profile_inline (ciInstanceKlass* prof_klass, ciMethod* prof_method);
505
-
506
499
// Helper functions for type checking bytecodes:
507
500
void do_checkcast ();
508
501
void do_instanceof ();
@@ -555,9 +548,9 @@ class Parse : public GraphKit {
555
548
void maybe_add_predicate_after_if (Block* path);
556
549
IfNode* jump_if_fork_int (Node* a, Node* b, BoolTest::mask mask, float prob, float cnt);
557
550
Node* jump_if_join (Node* iffalse, Node* iftrue);
558
- void jump_if_true_fork (IfNode *ifNode, int dest_bci_if_true, int prof_table_index, bool unc);
559
- void jump_if_false_fork (IfNode *ifNode, int dest_bci_if_false, int prof_table_index, bool unc);
560
- void jump_if_always_fork (int dest_bci_if_true, int prof_table_index, bool unc);
551
+ void jump_if_true_fork (IfNode *ifNode, int dest_bci_if_true, bool unc);
552
+ void jump_if_false_fork (IfNode *ifNode, int dest_bci_if_false, bool unc);
553
+ void jump_if_always_fork (int dest_bci_if_true, bool unc);
561
554
562
555
friend class SwitchRange ;
563
556
void do_tableswitch ();
@@ -567,23 +560,6 @@ class Parse : public GraphKit {
567
560
void linear_search_switch_ranges (Node* key_val, SwitchRange*& lo, SwitchRange*& hi);
568
561
569
562
void decrement_age ();
570
- // helper functions for methodData style profiling
571
- void test_counter_against_threshold (Node* cnt, int limit);
572
- void increment_and_test_invocation_counter (int limit);
573
- void test_for_osr_md_counter_at (ciMethodData* md, ciProfileData* data, ByteSize offset, int limit);
574
- Node* method_data_addressing (ciMethodData* md, ciProfileData* data, ByteSize offset, Node* idx = NULL , uint stride = 0 );
575
- void increment_md_counter_at (ciMethodData* md, ciProfileData* data, ByteSize offset, Node* idx = NULL , uint stride = 0 );
576
- void set_md_flag_at (ciMethodData* md, ciProfileData* data, int flag_constant);
577
-
578
- void profile_method_entry ();
579
- void profile_taken_branch (int target_bci, bool force_update = false );
580
- void profile_not_taken_branch (bool force_update = false );
581
- void profile_call (Node* receiver);
582
- void profile_generic_call ();
583
- void profile_receiver_type (Node* receiver);
584
- void profile_ret (int target_bci);
585
- void profile_null_checkcast ();
586
- void profile_switch_case (int table_index);
587
563
588
564
// helper function for call statistics
589
565
void count_compiled_calls (bool at_method_entry, bool is_inline) PRODUCT_RETURN;
0 commit comments