Hello,
> new RuntimeException(exc1.getMessage())
I typically try to avoid swallowing the cause and especially the exception type
of a inner exception, especially in this case where two different exceptions
are caught. Better do tostring() and/or specify the exception as a cause to
have chainin
Hello,
I would add an additional argument to allow substring filtering on the fully
qualified class name (like com/example or UtilClass), since this can creator
reduce processing/printing time. But I guess that can be added as an additional
feature later on (maybe only the “verbose” variant can
Hello,
Is it safe to allow generic proxy objects, could they not execute arbritrary
backend methods? Are the invocation handlers filtered indirectly?
What about those inner classes, are they stable? Could the whole protocol maybe
changed to a different protocol?
Gruss
Bernd
--
http://bernd
Maybe better use addFirst(), for example in CommandProcessor there is a comment
that order matters (did not check it more closely), so it’s probably best to
not reverse orders in any place? The Dequeue Javadoc lists addFirst as the
aproperiate stack#push replacement.
Gruss
Bernd
--
http://bernd
The simple solution is probably not delete those files. :)
If this is a long known bug, did you actually open a bug report with any of the
OpenJDK contributor organizations and what’s the number?
Gruss
Bernd
--
http://bernd.eckenfels.net
Von: serviceability-de
: Freitag, Februar 15, 2019 2:19 PM
An: gary.ad...@oracle.com
Cc: Bernd Eckenfels; OpenJDK Serviceability
Betreff: Re: RFR: JDK-8149461: jmap kills process if non-java pid is specified
in the command line
On a linux system with 1 Java process and 500 non-Java processes,
/tmp is not tmpfs mounted, 20 runs
Hello,
I see possible issues here, not sure if they still exist but I wanted to
mention them:
the list-vm function might be slow on a loaded system (as it is a complex
function). It’s not the best Situation if your diagnostic attempts are slow
down in such a situation.
Also in the past not al
Hello,
David:
> I don't have an issue with your fix. I just don't understand how the
> existing test actually works when the test cases seems to fail at the
> command-line for me.
I think the difference between commandlie and testcase is, that the command
line Interpreter might do some additio
Looks good Thomas, what would be the typical memory usage with the Default
Settings? Does the downsampling support min/max style rollups?
--
http://bernd.eckenfels.net
Von: Thomas Stüfe
Gesendet: Mittwoch, 14. November 2018 16:29
An: serviceability-dev@openjdk.java.net serviceability-dev@openjd
I thought by providing jhsdb launcher the usage of dump based analysis became
more prominent, so those attach mechanisms are not going away, right?
--
https://Bernd.eckenfels.net
Von: -800456320m Auftrag von
Gesendet: Mittwoch, September 5, 2018 1:17 PM
An: Egor
If the dynamic attach returns names (especially „localhost“ or even „hostname“)
instead of the ip address in sun.jdwp.listenerAddress then this can be
explained by it resolving to the wrong ip.
For that reason the attach Agent should return an IP or at least a
configurable hostname (like rmi.s
Hello,
I could imagine a fork-and-coredump Approach would be possible. This Limits the
application pause to cloning the pagetables (not sure if there is a mode to
avoid this).
This does however put stress on the virtual Memory (and requires additional ram
for the cloned structures). After the
Would it be possible to remove all the duplicate configuration
code from the PostVMInitHook and just call run() {
UsageLoggerClient.logJavaUsage(); }? This way all config code can be in one
place.
I also wonder if the ORCL_ p
Anything which can be done with the DelegatingClassLoaders (either add Info on
their target or collabs them to a „30 x unnamed DelegatingClassloader“. Even in
Verbose mode they only reveal their type (constructor, method) but not much
more.
Gruss
Bernd
--
http://bernd.eckenfels.net
___
Hello,
from the description below it sounds it would also be possible to remove the
Group check. Would this not be an Option which more flexible allows sgid to be
used as intended? (Not that I can imagine anybody Setting a sgid on /tmp?!)
What is the Purpose of validating the Group ownership?
11:07 AM, Bernd Eckenfels
wrote:
Hello,
one Option would be to use nid as tid on platforms where the datatype is
compatible. Thread#getId() is „positive Long“. That should work(?) at least on
Windows and Linux, it will actually reduce some Overhead and make the
identifier more useful for
Hello,
one Option would be to use nid as tid on platforms where the datatype is
compatible. Thread#getId() is „positive Long“. That should work(?) at least on
Windows and Linux, it will actually reduce some Overhead and make the
identifier more useful for Debugging without adding a new API. Wit
separately, if needed. Otherwise, the
frames in the stack when this method is called must have the security
permission granted.
Mandy
On 10/23/17 1:00 PM, Bernd Eckenfels wrote:
Hello,
When running this privileged it means one can bypass the permission by using
the MBean, is that intentional? (Besides
Hello,
When running this privileged it means one can bypass the permission by using
the MBean, is that intentional? (Besides it is already available as the JMVID)
Gruss
Bernd
--
http://bernd.eckenfels.net
From: serviceability-dev on
behalf of mandy chung
Sent:
of a random cwd of
another process.
Gruss
Bernd
--
http://bernd.eckenfels.net
From: David Holmes
Sent: Thursday, September 14, 2017 7:36:41 AM
To: Chris Plummer; serguei.spit...@oracle.com; serviceability-dev;
tj.fonta...@oracle.com; Bernd Eckenfels
Subject: Re
Hello,
Just wanted to come back to this: I noticed that with systemd on Linux there is
a recommended option for longrunning daemons cause PrivateTmp*. This will make
the systemd manager generate a new mount namespace for this new service process
and bind-mount /tmp to an isolated subdirectory i
This is cool, I have two minor comments: can it use a different/new GC Cause
and the test does actually not assert failed executions.
Gruss
Bernd
--
http://bernd.eckenfels.net
From: serviceability-dev on
behalf of Ujwal Vangapally
Sent: Wednesday, July 19, 2017
I don't understand why this format is totally different from the normal stack
traces? At least the header with the stack names could be similar?
Gruss
Bernd
--
http://bernd.eckenfels.net
From: serviceability-dev on
behalf of chihiro ito
Sent: Wednesday, June 14
And just because nobody mentioned it, don't forget `jcmd Thread.print -l`. I
had the impression jcmd is preferred,over the older jps/jstack/jmap gang?
Gruss
Bernd
--
http://bernd.eckenfels.net
From: serviceability-dev on
behalf of Robbin Ehn
Sent: Monday, May 2
Hm, why introduce a new password hash format. Just use modular crypt() format
(and iterations). This allows to use common tools (like htpasswd) to generate
the hashes. It would use $5$ prefix for SHA256 but actually I would use $6$ for
iterated SHA512 as it is the default on most recent Linux di
The comment in LowMemoryTest2 could be fixed as well, I would remove the "8mb"
Gruss
Bernd
--
http://bernd.eckenfels.net
On Sat, Jan 28, 2017 at 10:32 PM +0100, "Mandy Chung"
wrote:
> On Jan 27, 2017, at 1:39 AM, David Holmes wrote:
>
> A small serviceability part of this chang
16 at 9:29 AM +0100, "Sharath Ballal"
wrote:
Bernd,
Are you ok with the explanation and existing changes ?
-Sharath Ballal
From: Sharath Ballal
Sent: Friday, November 11, 2016 12:17 PM
To: Bernd Eckenfels; serviceability-dev@openjdk.java.net
Subject: RE: R
vely.
So for int if the little endian byte order was 3 2 1 0 it is now converted to 0
1 2 3 and similarly for long.
-Sharath Ballal
From: Bernd Eckenfels [mailto:e...@zusammenkunft.net]
Sent: Thursday, November 10, 2016 1:20 PM
To: serviceability-dev@openjdk.java.net; Dmit
Hello,
Is the a reason why swapShort has a " lowbyte | highbyyte" and the other two
methods the other way around? I would all write in the natural order of.
Igendianess (I.e. Change the first).
Gruss
Bernd
--
http://bernd.eckenfels.net
On Thu, Nov 10, 2016 at 8:32 AM +0100, "Sharath Ballal"
Am Wed, 24 Jun 2015 16:26:35 -0700
schrieb Jeremy Manson :
> > As for the other concern: my concern about *just* having the
> > callback mechanism is that there is quite a lot you can't do from
> > user code during an allocation, because of lack of access to JNI.
> >
> >
> > Maybe I missed somethin
Am Sat, 20 Jun 2015 17:12:34 +0100
schrieb Alan Bateman :
> Tracking peak usage would be consistent with some of the other
> platform MXBeans so I think this make sense.
Yes, peak usage and count is also used in for example the ThreadsMBean.
> Back-off + gc is implementation specific and I don't
Hello Alan,
Am Fri, 19 Jun 2015 09:10:44 +0100
schrieb Alan Bateman :
> On 19/06/2015 07:00, Bernd Eckenfels wrote:
> >> - why is BufferPoolMXBean not tracking allocation failures,
> >> allocation count, alignment flag and maximum size (maybe even
> >> mod
Hello,
Am Sat, 6 Jun 2015 19:07:07 +0200
schrieb Bernd Eckenfels :
> - why is BufferPoolMXBean not tracking allocation failures, allocation
> count, alignment flag and maximum size (maybe even modifyable).
> Would it be worth to contribute something in this area or is that
> su
Hello,
I had some application problems and thought it would be a good idea to
wrap Unsafe.allocateMemory(long) to get a histogram of call-sites and
to trace the memory consumptions.
When I register an Java agent then sun.misc.Unsafe will not be loaded
through the transformer, since it is a rather
34 matches
Mail list logo