<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0336dfb08f62a19763205057f85b0ea4387a059a">https://github.com/macports/macports-ports/commit/0336dfb08f62a19763205057f85b0ea4387a059a</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0336dfb08f62a19763205057f85b0ea4387a059a
</span>Author: usersxx <97012123+usersxx@users.noreply.github.com>
AuthorDate: Sat Apr 9 21:17:53 2022 +0530
<span style='display:block; white-space:pre;color:#404040;'> openjdk11: delete unused patchfiles
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Delete patch-openjdk11-build2.diff patchfile as it isn't required
</span>---
java/openjdk11/files/patch-openjdk11-build2.diff | 56 ------------------------
1 file changed, 56 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk11/files/patch-openjdk11-build2.diff b/java/openjdk11/files/patch-openjdk11-build2.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 80d08aac5ce..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk11/files/patch-openjdk11-build2.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,56 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/hotspot/share/jfr/periodic/jfrNetworkUtilization.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -55,14 +55,14 @@ void JfrNetworkUtilization::destroy() {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static InterfaceEntry& new_entry(const NetworkInterface* iface, GrowableArray<InterfaceEntry>* interfaces) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- assert(iface != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- assert(interfaces != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ vmassert(iface != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ vmassert(interfaces != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // single threaded premise
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static traceid interface_id = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const char* name = iface->get_name();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- assert(name != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ vmassert(name != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- InterfaceEntry entry;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const size_t length = strlen(name);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -88,7 +88,7 @@ static InterfaceEntry& get_entry(const NetworkInterface* iface) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static int saved_index = -1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GrowableArray<InterfaceEntry>* interfaces = get_interfaces();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- assert(interfaces != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ vmassert(interfaces != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for (int i = 0; i < _interfaces->length(); ++i) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- saved_index = (saved_index + 1) % _interfaces->length();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (strcmp(_interfaces->at(saved_index).name, iface->get_name()) == 0) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -101,7 +101,7 @@ static InterfaceEntry& get_entry(const NetworkInterface* iface) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // If current counters are less than previous we assume the interface has been reset
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // If no bytes have been either sent or received, we'll also skip the event
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static uint64_t rate_per_second(uint64_t current, uint64_t old, const JfrTickspan& interval) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- assert(interval.value() > 0, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ vmassert(interval.value() > 0, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (current <= old) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -120,7 +120,7 @@ static bool get_interfaces(NetworkInterface** network_interfaces) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- class JfrNetworkInterfaceName : public JfrSerializer {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- public:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void serialize(JfrCheckpointWriter& writer) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- assert(_interfaces != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ vmassert(_interfaces != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const JfrCheckpointContext ctx = writer.context();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const intptr_t count_offset = writer.reserve(sizeof(u4)); // Don't know how many yet
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int active_interfaces = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -143,7 +143,7 @@ class JfrNetworkInterfaceName : public JfrSerializer {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- };
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static bool register_network_interface_name_serializer() {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- assert(_interfaces != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ vmassert(_interfaces != NULL, "invariant");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return JfrSerializer::register_serializer(TYPE_NETWORKINTERFACENAME,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- false, // require safepoint
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- false, // disallow caching; we want a callback every rotation
</span></pre><pre style='margin:0'>
</pre>