changeset 2862:69190643a78f icedtea-3.10.0pre01

PR3625: arc_priority representation creates an implicit limit on character sequence within regexp 2018-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org> PR3625: arc_priority representation creates an implicit limit on character sequence within regexp * NEWS: Updated. 2018-09-12 Severin Gehwolf <sgehwolf@redhat.com> PR3625: arc_priority representation creates an implicit limit on character sequence within regexp * tapset/jstack.stp.in: Workaround limit on regexp length with SystemTap >= 3.2.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Wed, 21 Nov 2018 04:51:13 +0000
parents de07741314e3
children 2c91597679c6
files ChangeLog NEWS tapset/jstack.stp.in
diffstat 3 files changed, 17 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Nov 21 04:38:23 2018 +0000
+++ b/ChangeLog	Wed Nov 21 04:51:13 2018 +0000
@@ -1,3 +1,16 @@
+2018-11-20  Andrew John Hughes  <gnu_andrew@member.fsf.org>
+
+	PR3625: arc_priority representation creates an
+	implicit limit on character sequence within regexp
+	* NEWS: Updated.
+
+2018-09-12  Severin Gehwolf  <sgehwolf@redhat.com>
+
+	PR3625: arc_priority representation creates an
+	implicit limit on character sequence within regexp
+	* tapset/jstack.stp.in: Workaround limit on regexp
+	length with SystemTap >= 3.2.
+
 2018-11-19  Andrew John Hughes  <gnu_andrew@member.fsf.org>
 
 	PR3634: Update Shenandoah fix following upstream
--- a/NEWS	Wed Nov 21 04:38:23 2018 +0000
+++ b/NEWS	Wed Nov 21 04:51:13 2018 +0000
@@ -21,6 +21,8 @@
   - S8164920, PR3574, RH1498936: ppc: enhancement of CRC32 intrinsic
   - S8172850, PR3643, RH1640127: Anti-dependency on membar causes crash in register allocator due to invalid instruction scheduling
   - S8209639, PR3643, RH1640127: assert failure in coalesce.cpp: attempted to spill a non-spillable item
+* SystemTap
+  - PR3625: arc_priority representation creates an implicit limit on character sequence within regexp
 * Shenandoah
   - PR3634: Shenandoah still broken on s390 with aarch64-shenandoah-jdk8u181-b16
   - [backport] Adaptive CSet selection overshoots max-CSet
--- a/tapset/jstack.stp.in	Wed Nov 21 04:38:23 2018 +0000
+++ b/tapset/jstack.stp.in	Wed Nov 21 04:51:13 2018 +0000
@@ -48,7 +48,8 @@
 /* Resolve multiple installed java versions conflict. */
 @define _private %( %( systemtap_v >= "3.0" %? private %) %)
 @define _check_match %(
-  %( systemtap_v >= "3.0" %? if (pp() !~ "@prefix@") next %)
+  %( systemtap_v >= "3.2" %? if (strpos(pp(), "@prefix@") < 0) next %)
+  %( systemtap_v < "3.2" && systemtap_v >= "3.0" %? if (pp() !~ "@prefix@") next %)
 %)
 
 @_private global CodeCache_heap;