< prev index next >

src/hotspot/share/utilities/exceptions.hpp

Print this page
rev 50234 : 8204477: Count linkage errors and print in Exceptions::print_exception_counts_on_error

@@ -106,10 +106,13 @@
 
   // Count out of memory errors that are interesting in error diagnosis
   static volatile int _out_of_memory_error_java_heap_errors;
   static volatile int _out_of_memory_error_metaspace_errors;
   static volatile int _out_of_memory_error_class_metaspace_errors;
+
+  // Count linkage errors
+  static volatile int _linkage_errors;
  public:
   // this enum is defined to indicate whether it is safe to
   // ignore the encoding scheme of the original message string.
   typedef enum {
     safe_to_utf8 = 0,
< prev index next >