diff --git a/src/share/vm/jfr/leakprofiler/emitEventOperation.cpp b/src/share/vm/jfr/leakprofiler/emitEventOperation.cpp index 852f952727cf2cfc0dcd29f5068fd09f4c07d855..63e26c38b5851ac5fedf158156207a439eb24342 100644 --- a/src/share/vm/jfr/leakprofiler/emitEventOperation.cpp +++ b/src/share/vm/jfr/leakprofiler/emitEventOperation.cpp @@ -184,7 +184,7 @@ static int array_size(const oop object) { if (object->is_array()) { return arrayOop(object)->length(); } - return -1; + return min_jint; } void EmitEventOperation::write_event(const ObjectSample* sample, EdgeStore* edge_store) { diff --git a/src/share/vm/jfr/metadata/metadata.xml b/src/share/vm/jfr/metadata/metadata.xml index 648aa9a058cc733b407fe1ad25bce5ec0cdf14ef..12c3c638b52f49a085c2a4ef93ef47a43391e4d2 100644 --- a/src/share/vm/jfr/metadata/metadata.xml +++ b/src/share/vm/jfr/metadata/metadata.xml @@ -65,19 +65,19 @@ - - - @@ -350,7 +350,7 @@ - + @@ -362,7 +362,7 @@ - + @@ -557,9 +557,9 @@ relation="SafepointId" /> - - + - @@ -640,8 +640,8 @@ - - + + @@ -656,13 +656,13 @@ - + - - + + @@ -680,7 +680,7 @@ - + @@ -735,8 +735,7 @@ + description="Module to which the package is qualifiedly exported. If null or N/A, the package is unqualifiedly exported" /> --> @@ -1092,7 +1091,7 @@ - + @@ -1129,13 +1128,16 @@ - - - - - - - - - + + + + + + + + + + + + diff --git a/src/share/vm/jfr/metadata/metadata.xsd b/src/share/vm/jfr/metadata/metadata.xsd index aad3ec4cbbc7ca51a804438f1de5beb92fe33311..4bcb9675354727068382f261622249cd0d983809 100644 --- a/src/share/vm/jfr/metadata/metadata.xsd +++ b/src/share/vm/jfr/metadata/metadata.xsd @@ -107,8 +107,7 @@ - - + diff --git a/src/share/vm/jfr/periodic/jfrNetworkUtilization.cpp b/src/share/vm/jfr/periodic/jfrNetworkUtilization.cpp index 9d940db62150ed280d50e97196e6a1a9dc19ab99..6a7c0d84f3606d369e55dd8a36313ac04ce5958e 100644 --- a/src/share/vm/jfr/periodic/jfrNetworkUtilization.cpp +++ b/src/share/vm/jfr/periodic/jfrNetworkUtilization.cpp @@ -173,8 +173,8 @@ void JfrNetworkUtilization::send_events() { event.set_starttime(cur_time); event.set_endtime(cur_time); event.set_networkInterface(entry.id); - event.set_readRate(read_rate); - event.set_writeRate(write_rate); + event.set_readRate(8 * read_rate); + event.set_writeRate(8 * write_rate); event.commit(); } // update existing entry with new values