src/share/vm/compiler/methodMatcher.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/compiler

src/share/vm/compiler/methodMatcher.hpp

Print this page
rev 10101 : 8138756: Compiler Control: Print directives in hs_err
Summary: Add directive print in hs_err
Reviewed-by:


  73   BasicMatcher* _next;
  74 public:
  75 
  76   BasicMatcher() : MethodMatcher(),
  77     _next(NULL) {
  78   }
  79 
  80   BasicMatcher(BasicMatcher* next) :
  81     _next(next) {
  82   }
  83 
  84   static BasicMatcher* parse_method_pattern(char* line, const char*& error_msg);
  85   bool match(const methodHandle& method);
  86   void set_next(BasicMatcher* next) { _next = next; }
  87   BasicMatcher* next() { return _next; }
  88 
  89   void print(outputStream* st) { print_base(st); }
  90   void print_all(outputStream* st) {
  91     print_base(st);
  92     if (_next != NULL) {

  93       _next->print_all(st);
  94     }
  95   }
  96 };
  97 
  98 class InlineMatcher : public MethodMatcher {
  99 public:
 100   enum InlineType {
 101       unknown_inline,
 102       dont_inline,
 103       force_inline
 104     };
 105 
 106 private:
 107   InlineType _inline_action;
 108   InlineMatcher * _next;
 109 
 110   InlineMatcher() : MethodMatcher(),
 111     _inline_action(unknown_inline), _next(NULL) {
 112   }


  73   BasicMatcher* _next;
  74 public:
  75 
  76   BasicMatcher() : MethodMatcher(),
  77     _next(NULL) {
  78   }
  79 
  80   BasicMatcher(BasicMatcher* next) :
  81     _next(next) {
  82   }
  83 
  84   static BasicMatcher* parse_method_pattern(char* line, const char*& error_msg);
  85   bool match(const methodHandle& method);
  86   void set_next(BasicMatcher* next) { _next = next; }
  87   BasicMatcher* next() { return _next; }
  88 
  89   void print(outputStream* st) { print_base(st); }
  90   void print_all(outputStream* st) {
  91     print_base(st);
  92     if (_next != NULL) {
  93       st->print(", ");
  94       _next->print_all(st);
  95     }
  96   }
  97 };
  98 
  99 class InlineMatcher : public MethodMatcher {
 100 public:
 101   enum InlineType {
 102       unknown_inline,
 103       dont_inline,
 104       force_inline
 105     };
 106 
 107 private:
 108   InlineType _inline_action;
 109   InlineMatcher * _next;
 110 
 111   InlineMatcher() : MethodMatcher(),
 112     _inline_action(unknown_inline), _next(NULL) {
 113   }
src/share/vm/compiler/methodMatcher.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File