What does ""VM Thread" prio=5 tid=0x17b178 nid=0x2 runnable" do ?

When I take the thread dump of a java process, I am getting the
"VM Thread" prio=5 tid=0x17b178 nid=0x2 runnable
in the thread dump. But no stack for this thread.
Does anyone knows what does this "VM Thread" do ?
I have a situation where the java process is taking 50% of the CPU power and when I use prstat -L to get the thread wise CPU usahe the "VM Thread" is taking 25% CPU. Anyone knows what could be the reason for this "VM Thread" to take 25% of CPU power ?
If anyone knows what task the "VM Thread" does, please share it.
Thanks in advance.

Hi
There are no thread dump for native VM threads. Which jvm are u using?
You must be using a 4 -CPU Solaris sparc box? When u encounter the high CPU, can u do a pstack 3 times 5 seconds apart? Note if thread# 2 changes.
I cant recall off hand what to look out for but u shld see if there is GC happening there. unfortunately, pstack give mangled trace, so there is no easy way to tell. I have to go back office n check it tomorrow. then again, no promise cos i seldom login :p
My guess is that ur GC is running when high CPU is encountered. If u r running 1.4.2_x, add -XX:+PrintGC -XX:+PrintHeapAtGC -XX:+PrintGCDetails. You may also consider -XX:+UseConcMarkSweepGC -XX:+UseParNewGC or
-XX:+UseParallelGC
But, they may result in higher CPU cos they have more threads doing collection.

Similar Messages

  • What does it mean to be "thread safe"?

    What does it mean to be "thread safe"?
    I am working with a team on a project here at work. Someone here suggested that we build all of our screens during the initialization of the application to save time later. During the use of the application, the screens would then be made visible or invisible.
    One of the objections to that idea was that the swing components (many of which we use) are not thread safe. Can anyone tell me what the relevance of that is?
    Thanks

    To understand why Swing is not thread safe you have to understand a little bit of history, and a little bit of how swing actually works. The history(short version) is that it is nearly impossible to make a GUI toolkit thread safe. X is thread safe(well, sorta) and it's a really big mess. So to keep things simple(and fast) Swing was developed with an event model. The swing components themselves are not thread safe, but if you always change them with an event on the event queue, you will never have a problem. Basically, there is a Thread always running with any GUI program. It's called the awt event handler. When ever an event happens, it goes on an event queue and the event handler picks them off one by one and tells the correct components about it. If you have code that you want to manipulate swing components, and you are not ON the awt thread(inside a listener trail) you must use this code.
    SwingUtilities.invokeLater( new Runnable() {
      public void run() {
        // code to manipulate swing component here
    });This method puts the defined runnable object on the event queue for the awt thread to deal with. This way changes to the components happen in order, in a thread safe way.

  • What does knowing the number of "views" tell us about a thread.

    10 Points to the person who can give a cogent, rational, non-apologetic answer to the questions posed below, which are based on the premiss set forth just before it. (Please feel free, if you see fit, to dispute the premiss).
    PREMISS:
    People might "look" at a thread for a whole host of reasons -- whether it be to read the thread and contribute, or just to lurk, or because the thread's title was ambiguous, or funny, or in some other way remarkable apart from any substantive value it may have, or, even, just by accident, because the person clicked on the wrong button and inadvertently "looked" at the thread for a nanosecond before exiting. And probably for other reasons as well.....
    QUESTION:
    In light of the foregoing, what does knowing the number of "views" tell us other than what it says, i.e., does it tell us anything apart from the number of people that have for whatever reason literally just taken a look at the thread?
    If the answer to the above question is nothing -- i.e., the number of "views" tells us just that, the number of "views" and nothing more -- then why is this information so prominently featured, instead of, say, the information that used to be present under the old Discussions system, such as the number of unread posts in a particular thread, which is data that actually has a value as something other than a statistic. Knowing the number of unread posts indicates to someone following a particular thread, whether there has been additional contributions to the thread that should be reviewed if one is to remain current on the substance of that particular discussion. The extent of the additional contributions (if any) are readily apparent from the count).
    The little, difficult-to-discern-on-my-PowerBook's-screen tiny blue dot can hardly be said to take the place of the unread post count, as it shows the same indicator for one new post as it does for ten or even a hundred.
    Thanks for your help with this.

    Hi Scott --
    Thanks for your thoughtful reply. It did help, and I've even marked it "helpful" under the new, bizarre point system to evidence this fact. (BTW, my "offer" of a point award was more a misplaced attempt at sardonic humor aimed at deriding the new point system, with which I have a number of strong disagreements, than it was an effort to bribe thoughtful replies like yours. Please know that I really do appreciate the time and effort you took to get back to me on this and meant no disrespect by the "reward" point bounty).
    That said, I do have one follow up. You write that "the idea behind this [use of "views" rather than number of posts unread] is that even discounting curiosity, boredom, funny title, et al., the number of folks that have looked at a thread should bear some relation to the number of folks who are having that issue."
    I just don't think that that's the case. I don't think it sufficently discounts curiosity, boredom, funny title, et al. Those are some pretty powerful motivations for people to peruse this site. And there are many, many others as well.
    Of course I can only speak with certainty of my own personal experience with the Discussions, but based on that, I know have "viewed" numerous threads on subject matters that not only wasn't I experiencing, but on subject matters that I couldn't possibly experience,because it concerned Mac hardware or software that I don't own or have never used.
    In some cases, I looked at threads where the subject line sounded interesting, or amusing, or provocative, in other cases I looked at threads that concerned hardware or software that I once owned (and so I thought I might be able to help with the problem at issue), in still other cases the thread concerned software and/or hardware that I was considering purchasing (and wanted to know what I might be getting into). With regard to the former of those two reasons, I know there were many, many instances where, based on the title of the post, I knew that I could help and I viewed the post as a form of oversight (so to speak) to make sure that the responses being left were providing accurate and complete information.
    In my "view," though clearly not in the "view" of the Mods, et al. for reasons (thanks to your post) that I can at least better articulate (if not understand or agree with), a thread's number of "views" is susceptible to just too many possible meanings to make it of any real use. The number of unread posts (and by this I refer to the old numeric value of posts not yet read and not that illegible little blue dot used in the new system) may not be perfect information, but it is certainly more useful in my "view" than the number of "views." (I apologize for those poor puns on the word "view," but in my "view" they were unavoidable, sort of. See what I mean
    Anyway. I really do thank you for your reply and the time and effort you took to make it. But, alas, with each hour I use these New Discussions, the more convinced I become that my continued time on here is fading. With no more hope of leveling up, with even less hope of ever receiving any tangible sign of "thanks for your help" in the form of + votes (insignificant as they were, at least they were something, everyone like to feel appreciated), with the posts much more difficult to read on my PowerBook's screen and even more difficult to keep track of, and for a bunch of other reasons (some admittedly petty, and some that strike at the core of why and how I use this site), I fear that I will soon be saying farewell.
    But till then, thanks once again for your thoughtful reply.

  • What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7

    What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7
    I found the manual update, which worked!
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5595&fileID= 5604

    Hi Barbara,
    For failed 13.1.2 update error U44M1P7, Please refer to the solution mentioned in the following threads :
    http://forums.adobe.com/message/5396792#5396792
    http://forums.adobe.com/message/5409050#5409050

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it?
    I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround.
    Briefly, the bug:
    I call a dll from a function node, to initialise and run a spectrometer. If I start up the PC, LabVIEW and run my vi the code runs without complaint, the first call to the dll to initialise the spectrometer doesn;t return an error but the spectrometer is not detected either.
    I've tried various solutions, see the link above, and none work
    The workaround:
    If, at any time before running the code containing the function node I open an 'open file' dialog window, select the dll and click ok/hit enter then everything is fine. When I run the main code the spectrometer is detected.
    I use an express vi to open the file dialog, I specify the start path and file name as constant inputs and just click ok/hit return when the dialog pops up. I don't do anything with the dialog outputs. In fact the vi that contains the open file dialog can be run before the project containing the bug is even open.
    I have to do this everytime I turn the PC on.
    So, either
    1) Can somewone suggest a fix for the original bug?
    2) What is the easiest way to simulate the enter keypress when the open file dialog pops up
    or
    3) Can someone tell me what the open file dialog does under the hood that somehow causes the dll to work and can it be simulated in straight LabVIEW
    I suspect that the dll itself is dodgy ( I have in the past talked to the supplier but not got very far, and I will try again but I would like a quick, temporary solution too). I'm guessing that the file dialog is making some kind of check on the file, and possibly registering its presence with the OS (winXP). I tried using the file/folder exists vi to see if checking the file like that worked but no luck.
    Any help greatly appreciated.
    Dave

    Hi David
    I am very conscious about thread hijacking but this sounded like my issue so I hope you dont mind me asking about your issue. I am hoping that you have a spectrometer from the same vendor as me and its not just me seeing an Error 1097 issue. My spectrometer is from a company called Stellarnet.
    So far I have unable to get it to work with other VIs. There is one condition where I can get it to work but its no good for me.
    Case 1
    I open the VI in a fresh labview environment with no other VIs in memory. The code runs with no issue.
    Case 2
    Labview is not opened. I double click the spectrometer VI in windows explorer.  The VI opens but it fails to run resulting in Error 1097. Personally, I dont see the difference between this and Case 1 above and yet it fails.
    Case 3
    If I already have other VI's in memory and try to load the spectrometer VI and run it fails with Error 1097. This case is the one that most important to me. I have a test executive that will load test VIs dynamically and I can't get this to work. Same problem Error 1097.
    I wanted to share what I have seen with you and to let you know that maybe somebody else has the same issue. I am convinced its the DLL but the vendor dis-agreed saying it was LabVIEW. I couldn't convince him otherwise.
    Thanks in advance
    David

  • I shop for for apps on my ipod touch and when i plug my ipod into itunes and it says erase and sync what does that mean?

    hello all,
    i normally shop on my ipod touch (because frankly i cant be bothered to plug it into itunes then shop! ) to shop for apps and song and etc. and because i have a wall charger in my room theres pratically no need to go the computer! so sometimes when im on the computer i want to use my ipod touch as well so i charge it on the pc.
    well to cut the story short everytime i want to shop on itunes it comes up with this note that says "your ipod is synced with a different pc etc" then it comes up with erase and sync? so my question is what does syn mean? because im worried if i choose ok it would get rid of all my apps
    - someone help me!

    - It means what it says.  Your iPod is synced with a different iTunes library.  To transfer purchases to this computer:
    iTunes Store: Transferring purchases from your iPhone, iPad, or iPod to a computer
    - If you want to make this computer your syncing computer see ths previous discussion:
    https://discussions.apple.com/thread/3362492?tstart=0

  • What is Laserfiche and what does it do?

    What is Laserfiche and what does it do?  Does it integrate with O365? Is it a standalone plan or an add on? 

    Hi Amanda,
    Laserfiche is a robust enterprise content, document and records management platform with integrated advanced capture solutions and workflow.  Laserfiche is a certified gold partner with Microsoft, fully integrated into the Office suite, including
    Office 365 and SharePoint.
    Laserfiche provides a platform for centralized content and records storage - ranging from image files to electronic documents to voice and audio files.  It is truly an enterprise wide content management system.  Very often you will find it coupled
    with SharePoint as the back end repository because of the strong workflow designer and engine, which is much easier to use than SharePoint's. 
    Laserfiche includes advanced capture tools in its product suite that can perform automated data capture from paper records, with index fields completed automatically based on the data extracted.  It is widely know as an integrative middleware solution
    as well, and at our company Accelerated Information Systems (disclaimer - we are a Laserfiche reseller and top partner for the North East US) we are able to integrate with ANY other application.  It really is a robust solution that adds features and ease
    of use to a powerful SharePoint platform.
    As far as your final question, Laserfiche is a stand alone product, but relies heavily on Microsoft technologies as it does manage the content we create through MS Office and every day printing.
    Please let me know if you have any other specific questions and I will be more than happy to answer them on this forum thread.
    ~Chris
    Christopher R. Franzino, Sales Manager l Accelerated Information Systems
    Office: 516.822.4466 x103 l Fax: 516.871.0600 l aisww.com

  • What does this error message mean? "An unexpected error occurred (error code -6584). It arises when I open my Time Capsule icon.

    I had a problem when downloading iTunes 11.1 and had to clear my disc and rebuild it from Time Capsule.  Thats when I learned that Time Capsule stopped backing up back in January.  So now I keep looking to see if Time Capsule is backing up but whenever I open the Time Capsule icon i get this error message.  What does it mean and how can I fix the problem?

    The backup is corrupted in some way.. you need to verify it.
    The error is common enough but there seems to be a range of solutions.
    Read the thread here.. https://discussions.apple.com/thread/3123920?tstart=0
    Look particularly for the posts by Pondini.
    And check his troubleshooting for methods of doing things like verify.
    http://pondini.org/TM/Troubleshooting.html
    A5

  • Perfect? No. But hey, thanks for what does wo

    I think I've been pretty even minded regarding Creative's progress with their Vista support for my Audigy 2 ZS Platinum Pro. Yeah, lots of stuff doesn't work and some things that worked with prior beta driver versions or even using XP drivers no longer do. Weird needing the earlier non-functional MediaSource software installed for the new one to encode mp3's (unless buying the new codec, which I did to avoid needing to install that old stuff). Limited Soundfont support and only in MediaSource Player. No more AdvancedEQ. No more Dolby Decoding (well, PowerDVD 7 does it). However, I have never had audio not working in Vista. And I have never had less than exceptional sound quality. Now, if I just turn up the bass and treble in Vista's AudioControl it still sounds great even without Advanced EQ. (I would like that back though. No real fine tuning the hardware, just software player eq's this way.)?I've read of lots of problems folks have had, but my headphone jack on the breakout box works. The AudioConsole successfully switches the audio between my headphone being plugged in or my 2. speakers, etc. The CMSS does give me proper seperation with my headphones, speakers. So the basic stuff with slight extra (jack detect, CMSS) work. No audio glitches. And the new driver does fix any problems with accessing the Vista AudioControl, whereas with older beta's the control would only open once and wouldn't remember settings. It now works fine. I only adjust the configuration in Creative AudioConsole though. The documentation said not to use the Vista Speaker setup so I've never opened that. I really have no complaints except to please give us back our advanced features that really make the card's purchase worth it. And do something about MediaSource not knowing we already paid for mp3 encoding when we spent $300 for our retail card. It shouldn't need to have the unoperable cd software installed to know this. So, thanks for not leaving us barren of quality sound like your M-Audio competitors have. Their policy is we have nothing for you and please don't ask us about it. But feel free to keep buying our cards!?Creative could have kept its development entirely in house and not released anything until, or after Vista is in retail outlets and installed on OEM computers in stores. They did not. They could have deleated any forum post references to Vista and simply announced that support for some cards may come when Vista is released or some time thereafter. They did not. They have shared the information regarding the new Vista API's and have related what they will be doing to get things adjusted so they work for most features most people still want from soundcards. Pretty good communication, in my view. As well as pretty darned good support during the beta Vista period. I just hope more is coming than what is provided now. I can switch to my onboard and get similar at the moment. But, thanks for what does work!

    Are you looking for this Thread that you started...
    https://discussions.apple.com/message/25004385#25004385
    It gets Very Confusing if you continually Start New threads all the time.

  • What does this error mean? How do I fix it?

    I apologize if this is sent twice. I don't see it on the forum anymore, and I really need an answer.
    What does the following error mean? How do I fix it? Both HelloWorld.class and Hello.html are in the Java directory. I also get an error when I try to run the applet in a browser--applet noninited. I'm just trying to go through the tutorial, but they don't mention this as one of the errors possible.
    In the MS-DOS prompt when I try to run the appletviewer, I get:
    C:\Java>appletviewer Hello.html
    load: class HelloWorld.class not found.
    java.lang.ClassNotFoundException: HelloWorld.class
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:151)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:478)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
    at sun.applet.AppletPanel.run(AppletPanel.java:290)
    at java.lang.Thread.run(Thread.java:536)
    Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:224)
    at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:40)
    at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:141)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:138)
    ... 8 more
    Thanks for any help on this topic.
    booktoad28

    Can you post the HTML that calls for the applet?

  • -XXdisablefatspin in 1.4.2_04...what does this mean ?

    I am not able to find any doc on this vm option. We are having a issue with this VM ( without the disablefatspin option set ) running weblogic, where after a few hundred requests ( on a SMP machine ), the VM does not respond. We are forced to restart. Thread dumps show a "lock chain" although no deadlocks.
    Somebody in this newsgroup ( archive ) had suggested setting the "-XXdisablefatspin option. What does this option do ? Any docs related to this for 1.4.2_04 VM ?
    Thanks
    -- pady

    Take a look at the following post on the subject:
    http://forums.bea.com/bea/message.jspa?messageID=202464561&tstart=0
    Regards,
    /Staffan

  • Hasplmd, what does it do?

    Just after waking my screen from energy saver I see on my screen: Hasplmd wants network access. I did some quick searching here and only saw hasplmd in relation to apps. So what is this process and what does it do? I've never seen this alert before. The machine involved is a MacPro 2,1 8-core 3.0 running 10.7.5. TIA.

    hasplmd is a process associated with copy-protection "dongles" for a number of different software packages. You can find additional information in this thread, among others:
    https://discussions.apple.com/message/15717563#15717563
    Regards.

  • Please explain what does this code does exactly

    Can any one explain me what does the below code does.
    This is the code written in one of the BADI (ME_PO_PRICING_CUST) .This badi will be triggered when a sales order delivery address is changed and while saving it this will be triggered. Over all what i come to know is they re trigerring a new version in this code. Can anyone explain me what exactly they are doing in this.Thanks...
    METHOD IF_EX_ME_PO_PRICING_CUST~PROCESS_KOMK.
      FIELD-SYMBOLS: <EKKO> TYPE ANY,
                     <PROCSTAT> TYPE MEPROCSTATE,
                     <FRGKE> TYPE FRGKE,
                     <YNAST> TYPE TABLE,
                     <WA_YNAST> TYPE NAST.
      IM_EKKO-PROCSTAT = 02.
    *break-point.
      ASSIGN ('(SAPLMEPO)EKKO') TO <EKKO>.
      ASSIGN ('(SAPLMEPO)YNAST[]') TO <YNAST>.
      IF <EKKO> IS ASSIGNED.
        ASSIGN COMPONENT 'PROCSTAT' OF STRUCTURE <EKKO> TO <PROCSTAT>.
        ASSIGN COMPONENT 'FRGKE' OF STRUCTURE <EKKO> TO <FRGKE>.
        IF <FRGKE> = 'R'.
          <PROCSTAT> = '02'.
        ENDIF.
      ENDIF.
      IF <YNAST> IS ASSIGNED.
        IF <FRGKE> = 'R'.
          LOOP AT <YNAST> ASSIGNING <WA_YNAST>.
            <WA_YNAST>-AKTIV = 'X'.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ENDMETHOD.

    r_htkl must be a range table. check the declaration part of it.
    p_htkl is a parameter on selection screen i hope.
    so, there are four fields on a range table.(range table are similar to your select options)
    1. SIGN ( I or E  - Inclusive or Exculsive)
    2. OPTION(options like EQ = euqal, BT = Between, CP = contains pattern etc)
    3. LOW (value)
    4. HIGH (value)
    so..
    IF NOT p_htkl IS INITIAL. " checks if some thing is being passed to the parameter
    r_htkl-sign='I'. " give the sign a value I i.e it make inclusive sign
    r_htkl-option='EQ'. " EQ to option means you value will be checked for a equal to condition
    r_htkl-low=p_htkl. " the low field in now assigned the same value of the parameter p_hktl
    APPEND r_htkl. " the range table is appended.
    endif.
    so this range table can be used in select statements as :
    select * from abcd into gt where xyz in r_hktl. ==> this will check for a EQ condition with value in r_hktl-low in database or
    in if statements like : if abc in r_hktl. ==> this will check the EQ condition of abc with the r_hktl-low.
    Had it been
    r_htkl-sign='E'.
    then the condition is same but with a NOT.. that means NOT EQ or NOT BT etc.
    as exclusive of the option.
    etc.
    hope this is clear.
    AND PLEASE CLOSE THE OTHER THREAD (duplicate)

  • HT1766 Hello I am trying to update my viber, as i pressed update icon the message appeared "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or camcelled" what does it mean

    Hello I am trying to update my viber, as i pressed update icon the message appeared "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or camcelled" what does it mean?

    iTunes issue ,Apple are working on it
    solutions in thids thread seem to resolve for some
    https://discussions.apple.com/message/25722716#25722716
    Appears to be linked to having changed iTunes Store Country at some time in past

  • I keep getting a message that pops up about every 15 minutes that says server connections interupted.  the internet works fine and is fast.  What does it mean?

    I recently installed a 2TB time capsule and everything works fine but keep getting a server connections interrupted.  What does that mean and how do I get rid of it.
    thanks
    john

    It means Apple have done a lousy job with Lion or ML and TC networking.
    Read this thread from the last post backwards.. there are a number of work arounds discussed.
    https://discussions.apple.com/thread/3526741?tstart=30
    not all work for all people everywhere.. some work sometimes for some people.

Maybe you are looking for