< prev index next >

core/org.openjdk.jmc.flightrecorder/src/main/java/org/openjdk/jmc/flightrecorder/jdk/JdkAttributes.java

Print this page

        

@@ -473,18 +473,18 @@
                         Messages.getString(Messages.ATTR_IO_SOCKET_BYTES_WRITTEN),
                         Messages.getString(Messages.ATTR_IO_SOCKET_BYTES_WRITTEN_DESC), MEMORY);
         public static final IAttribute<IQuantity> IO_SIZE = Attribute.canonicalize(new Attribute<IQuantity>("size",  //#NON-NLS-1$
                         "Size", null, MEMORY) {
                 @Override
-                public <U> IMemberAccessor<IQuantity, U> customAccessor(IType<U> type){
+                public <U> IMemberAccessor<IQuantity, U> customAccessor(IType<U> type) {
                         List<IMemberAccessor<IQuantity, U>> accessorList = new ArrayList<>();
                         accessorList.add(type.getAccessor(JdkAttributes.IO_SOCKET_BYTES_READ.getKey()));
                         accessorList.add(type.getAccessor(JdkAttributes.IO_SOCKET_BYTES_WRITTEN.getKey()));
                         accessorList.add(type.getAccessor(JdkAttributes.IO_FILE_BYTES_READ.getKey()));
                         accessorList.add(type.getAccessor(JdkAttributes.IO_FILE_BYTES_WRITTEN.getKey()));
                         for (IMemberAccessor<IQuantity, U> accessor : accessorList) {
-                                if(accessor != null) {
+                                if (accessor != null) {
                                         return accessor;
                                 }
                         }
                         return MemberAccessorToolkit.constant(UnitLookup.BYTE.quantity(0));
                 }

@@ -721,12 +721,12 @@
         public static final IAttribute<String> DUMP_REASON_RECORDING_ID = attr("recordingId", //$NON-NLS-1$
                         Messages.getString(Messages.ATTR_DUMP_REASON_RECORDING_ID),
                         Messages.getString(Messages.ATTR_DUMP_REASON_RECORDING_ID_DESC), PLAIN_TEXT);
         
         public static final IAttribute<String> SHUTDOWN_REASON = attr("reason", //$NON-NLS-1$
-                        Messages.getString(Messages.ATTR_SHUTDOWN_REASON),
-                        Messages.getString(Messages.ATTR_SHUTDOWN_REASON_DESC), PLAIN_TEXT);
+                        Messages.getString(Messages.ATTR_SHUTDOWN_REASON), Messages.getString(Messages.ATTR_SHUTDOWN_REASON_DESC),
+                        PLAIN_TEXT);
 
         public static final IAttribute<IQuantity> CLASSLOADER_LOADED_COUNT = attr("loadedClassCount", //$NON-NLS-1$
                         Messages.getString(Messages.ATTR_CLASSLOADER_LOADED_COUNT),
                         Messages.getString(Messages.ATTR_CLASSLOADER_LOADED_COUNT_DESC), NUMBER);
         public static final IAttribute<IQuantity> CLASSLOADER_UNLOADED_COUNT = attr("unloadedClassCount", //$NON-NLS-1$

@@ -1210,6 +1210,13 @@
         public static final IAttribute<IMCType> BIASED_REVOCATION_CLASS = attr("revokedClass", //$NON-NLS-1$
                         Messages.getString(Messages.ATTR_REVOKED_CLASS), Messages.getString(Messages.ATTR_REVOKED_CLASS_DESC),
                         CLASS);
         public static final IAttribute<Boolean> BIASED_REVOCATION_DISABLE_BIASING = attr("disableBiasing", //$NON-NLS-1$
                         Messages.getString(Messages.ATTR_DISABLE_BIASING), FLAG);
+
+        public static final IAttribute<String> NATIVE_LIBRARY_NAME = attr("name", //$NON-NLS-1$
+                        Messages.getString(Messages.ATTR_NATIVE_LIBRARY_NAME), PLAIN_TEXT);
+        public static final IAttribute<IQuantity> BASE_ADDRESS = attr("baseAddress", //$NON-NLS-1$
+                        Messages.getString(Messages.ATTR_BASE_ADDRESS), ADDRESS);
+        public static final IAttribute<IQuantity> TOP_ADDRESS = attr("topAddress", //$NON-NLS-1$
+                        Messages.getString(Messages.ATTR_TOP_ADDRESS), ADDRESS);
 }
< prev index next >