diff src/share/vm/oops/method.hpp @ 12868:c775af091fe9

8025566: EXCEPTION_ACCESS_VIOLATION in compiled by C1 String.valueOf method Reviewed-by: kvn
author twisti
date Mon, 07 Oct 2013 10:41:56 -0700
parents b2e698d2276c
children f50418dfb1b7
line wrap: on
line diff
--- a/src/share/vm/oops/method.hpp	Mon Oct 07 14:13:28 2013 +0400
+++ b/src/share/vm/oops/method.hpp	Mon Oct 07 10:41:56 2013 -0700
@@ -804,6 +804,7 @@
  private:
   void print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason);
 
+ public:
   MethodCounters* get_method_counters(TRAPS) {
     if (_method_counters == NULL) {
       build_method_counters(this, CHECK_AND_CLEAR_NULL);
@@ -811,7 +812,6 @@
     return _method_counters;
   }
 
- public:
   bool   is_not_c1_compilable() const         { return access_flags().is_not_c1_compilable();  }
   void  set_not_c1_compilable()               {       _access_flags.set_not_c1_compilable();   }
   void clear_not_c1_compilable()              {       _access_flags.clear_not_c1_compilable(); }