What is the concurrency mechanism in a JVM?

Is there a maximum number of threads for a JVM? Can I change the limited number?

No there is no fixed number, the number threads an application can create is dependent on options given when JVM is launched and memory usage profile of your application
Maximum number of threads that can be created per JVM is limited by the maximum heap size that is allocated to JVM process. Each Thread launched by JVM is also given a stack of fixed size.
Hence you can only create a certain number threads before JVM throws outofmemory.
In Sun's JDK the maximum heap size and thread's stack size can be controlled at the launch time via non-standard options as documented here.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html
-Xmx : controls the max heap size a JVM can grow upto
-Xss : Thread's stack size

Similar Messages

  • What is the meaning of e system- jvm:infop=25a84f41,a='7.1.0.746',0='9.50.0.80',h=e000f03

    what is the meaning of e system- jvm:infop=25a84f41,a='7.1.0.746',0='9.50.0.80',h=e000f03 when i press alt+L+G+L+G on my bb 9220 i have that situation,but when i press alt+L+G+L+G on the other device i come different situation.what i must to do?

    deepspace wrote:
    i2b converts form int tot byte.
    If you don't use this instruction, the int will probably simply be chopped off at 1 byte.
    The casting does this:
    Narrowing Conversions: when an integer type is cast to another integer type of a smaller n number of bits, all but the n lowest-order bits, will be truncated.
    Yes, if instructions that yields integer results, such as iload_<n>*, are not proceeded with an i2b* instruction then the bastore* instruction, for example, would truncate the 32bit word into 8bits. But what option is there anyway? Maybe not proceeding an instruction, such as iload_<n>*, with i2b* will cause the bastore* instruction to forcibly compress a 32bit word into an 8bit byte?
    Please, if you would look at the output of the programs, that I discussed earlier in this post, you would notice the results are exactly the same, regardless to if the iload_<n>* instruction is proceeded with i2b* or not; it is analogous to the NOP*, No Operation, instruction used by microprocessors; however, conversely, the i2bmnemonic implies it actually performs a function. This is why I was questioning the pragmatic* reasoning behind it's usage. I just want to understand what is happening!
    I have posted this question to 3 different developer sites, including java.sun.com/j2se forums, and HAVE YET to get a DEFINITIVE* answer. All I get is the obvious answer but that is my problem, isn't it OBVIOUS* that 32bits must be truncated to 8bits to fit into a byte? I could understand if i2* transformed the 32bit word in some way but as evidence by the programs I posted earlier this is not the case. The values I passed to thoses methods ranged from -255 to 255, inclusive!!! Should I use values ranging from java.lang.Integer.*MIN_VALUE* to java.lang.Integer.*MAX_VALUE*, inclusive, instead?
    h4.
    Please read the posting and look at the output and you will understand my conundrum
    -----

  • What is the difference between jdk,jre,jvm?

    hai friends
    i am new to java,
    can any body send the answer to this question
    what is the difference between jdk, jre, jvm?

    You know, you can search the Internet using google:
    http://www.google.com
    Type in What is the JVM? You'll be amazed at the results!!

  • What are the concurrent programs or query for safe purge to claim  space

    I am using Apps R12.1.3 and database 11g Enterprise Edition(11.1.0.7.0) .Due to excess increase in the tablespace sizes,i want to know
    What are the application tables which contains logs and unwanted information which we can purge safely without affecting user data.
    And how to purge them (any query or concurrent program)?

    Hi,
    We discussed this many times before.
    Please use the following link where you will get many (all) refereces
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Purge&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks

  • What is the caching mechanism firefox 3.6 uses compared to what IE 6/7 and 8/9 use?

    I just need to know how firefox handles/takes care of/and does its work with cookies and cache, basically its caching mechanism. Also comparing it to IE versions 6/7 and 8/9 would help, for the sake of web development with respect to the two browsers (Detailed technical answer would help). Since web apps may sometimes work on firefox and sometimes not while it works in IE just fine.

    Hi Kellymarr,
    You can take a look at the release notes for each version to see what has been added or fixed:
    http://www.mozilla.org/en-US/firefox/4.0/releasenotes/
    Just change the version number in the url to see each major release.
    Hopefully this helps!

  • What is the default memory allocation for JVM

    Hi,
    Can anybody please let me know the default heap memory allocation(both min & max) for JVM, if we don't provide memory arguments (-Xms -Xmx) on 32-bit linux & windows machines having 4GB RAM?
    Thanks,
    Suresh

    user641407 wrote:
    Hi,
    Can anybody please let me know the default heap memory allocation(both min & max) for JVM, if we don't provide memory arguments (-Xms -Xmx) on 32-bit linux & windows machines having 4GB RAM?
    Starting with 5.0, per the Sun VM docs.
    http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html
    +"-Xmsn ... The default value is chosen at runtime based on system configuration."+
    +"-Xmxn ... The default value is chosen at runtime based on system configuration."+
    What other documentation are you looking for?

  • What's the difference between JIT and JVM?

    Don't laugh at me for asking this!I really want to know it!Thanks!

    JVM stands for Java Virtual Machine - means software to run Java bytecode.
    JIT - stands for Just In Time, and it is a feature of JVM that comiles parts of Java byte code to platform specific binary format on program runtime.
    HotSpot - is little bit similar to JIT: in first execution of program loop JVM looks for some "hot spots" - most expensive program parts abd then compiles it to native code.
    It is not shame to ask any question. But sometimes they may not be answered :))
    best regards

  • What is the transport mechanism in OWB?

    Dear all,
    We will be using OWB to control the Transportable tablespace process from a "Reporting Mirror" of the E-Business Suite to a Data Warehouse.
    The underlying partitions we will be moving are stored on ASM.
    Am I correct in thinking that OWB, behind the scenes, will be using the DBMS_FILE_TRANSFER utility to copy the partitions from source to target?
    (ftp does appear to be a clear option within OWB but we don't want to use this)
    Many thanks,
    Barry
    Barry Andersen | Technical Architect | +44.7917.265217
    Oracle Technical Architecture Consulting
    Oracle Parkway, Thames Valley Park, Reading. RG6 1RA

    You have an oldschool options aswell:
    Connect as SYS DBA with CONNECT / AS SYSDBA command.
    Shutdown the database instance with SHUTDOWN command.
    Rename or/and move the datafiles at operating system level.
    Start Oracle database in mount state with STARTUP MOUNT command.
    Modify the name or location of datafiles in Oracle data dictionary using following command syntax:
    ALTER DATABASE RENAME FILE ‘<fully qualified path to original data file name>’ TO ‘<new or original fully qualified path to new or original data file name>’;
    Open Oracle database instance completely with ALTER DATABASE OPEN command.
    If the datafiles that need to be changed or moved do not belong to SYSTEM tablespaces, and do not contain active rollback segments or temporary segments, there is another workaround that does not require database instance to be shutdown. Instead, only the particular tablespace that contains the date files is taken offline.
    Login to SQLPlus.
    Connect as SYS DBA with CONNECT / AS SYSDBA command.
    Make offline the affected tablespace with ALTER TABLESPACE <tablespace name> OFFLINE; command.
    Modify the name or location of datafiles in Oracle data dictionary using following command syntax:
    ALTER TABLESPACE <tablespace name> RENAME DATAFILE ‘<fully qualified path to original data file name>’ TO ‘<new or original fully qualified path to new or original data file name>’;
    Bring the tablespace online again with ALTER TABLESPACE alter tablespace <tablespace name> ONLINE; command.

  • What is the purging mechanism on historical tables during 80%

    Hi,
    I have a UCCE 7.2.5 environment.  Lately the HDS database is reaching 80% usage threshold and the system started to purge the database automatically.
    Realised the auto purge is always purging for a few tables only.  Can someone advise how the auto purge works?
    Appreciate your help in advanced.
    Thanks.
    regards,

    Hi Joe,
    Thanks for the info.  You mentioned "purge the oldest data in alphabetical order", does it mean the following table order?
    - t_Agent_Half_Hour: 615
    - t_Agent_Logout: 2
    - t_Agent_Skill_Group_Half_Hour: 615
    - t_Agent_Skill_Group_Logout: 2
    - t_Agent_State_Trace: 36
    - t_Call_Type_Half_Hour: 10
    - t_Network_Trunk_Group_Half_Hour: 780
    - t_Peripheral_Half_Hour: 781
    - t_Physical_Controller_Half_Hou: 781
    - t_Route_Call_Detail: 1
    - t_Route_Call_Variable: 1
    - t_Route_Half_Hour: 781
    - t_Routing_Client_Five_Minute: 781
    - t_Service_Half_Hour: 781
    - t_Skill_Group_Half_Hour: 781
    - t_Termination_Call_Detail: 28
    - t_Termination_Call_Variable: 1
    - t_Trunk_Group_Half_Hour: 780
    If you take a close look, the 615, 2, 36, 10 etc are actually the different day of data till date.  For example, t_Call_Type_Half_Hour table has data upto 10 days only.
    If the purge method mentioned earlier is true, the t_Agent_Half_Hour table should be the first to purge?  But in real case, the purging tables are in random order.
    Please advise.
    Thanks.
    regards,

  • What is the Quoting Mechanism for String Literals?

    Oracle 10G enterprise edition
    Hi all,
    I am trying to use the new feature support for string literals in 10G.but unfortunately it returns an error. Is there any settings to be done to get implemented with this feature?
    BEGIN
    DBMS_OUTPUT.put_line ('This is ram''s string!');
    DBMS_OUTPUT.put_line(q'[This is ram's string!]');
    END;
    ERROR:
    ORA-01756: quoted string not properly terminated
    Thanks
    Ram

    Art in oracle wrote:
    Oracle 10G enterprise editionAre you sure you are using 10g? (which version?)
    It works ok for me... (10.2.0.1)
    SQL> select q'[This is fred's quoted string]' from dual;
    Q'[THISISFRED'SQUOTEDSTRING]
    This is fred's quoted string
    SQL> set serveroutput on
    SQL> ed
    Wrote file afiedt.buf
      1  BEGIN
      2   DBMS_OUTPUT.put_line ('This is ram''s string!');
      3   DBMS_OUTPUT.put_line(q'[This is ram's string!]');
      4* END;
    SQL> /
    This is ram's string!
    This is ram's string!
    PL/SQL procedure successfully completed.
    SQL>

  • Is it possible to select multiple files on the W8.1U1's SEARCH RESULTS window page? For instance, if 10 CPP files are found by the seraching mechanism, can I select all 10 files and have them open in Visual Studio at once?

    TIA.

    Brandon, this forum member is known since a long time ago an arrogant (he thinks he knows more than every other) and stupid(*) (full of misconceptions). His first post is a very good example of what I just wrote. How does he dare to suggest to use File
    Explorer, if W8.1 already has a system built for doing just this search?  Do I have to open File Explorer in the folder (or somewhere near) the item I'm looking for? What about the other items in folders above it? This suggestion is stupid(*). He even
    asserts that I'm using Modern UI! I'm not! I'm using the desktop, but his misconceptions make him write such idiocies(*) with such arrogance: asserting what he doesn't know (arrogancy and stupidity). And more, this guy is no one to say he/he/he to me, because
    I know he is what you deleted from my posts, and more, he is often crying, moaning and snivelling like a spoiled child in this forum and messing up any thread posting stupid(*) images of programs imagined/designed/developed by others. All posts from him in
    this thread must be trashed (you should do it). He has nothing to contribute POSITIVELY in this thread, but just to MESS IT UP.
    (*) stupid, I can write, after all, you didn't delete this word from this ... poster.
    Now, look at the first reply: this forum member has no idea how much stupid is his 'work around'. And this 'work around' does not answer my question and even does address the environment I mentioned: W8.1 U1 search results window page, and not File Explorer!
    His second post just reassures me he has no idea what is the searching mechanism I'm talking about. He even mentions Win-w(!) which proves he totally ignore what is the searching mechanism I'm talking about. A user like this one, must have many monitors to
    keep him busy looking at them, and having excuses for not read and learn technical documentation. It's ignorance about technical aspects of computer issues that makes him post bad bug report and a bad idea in Connect site:
    Using Get-Date -Format "CyM" to work around some bugs
    https://connect.microsoft.com/PowerShell/feedback/details/884502/using-get-date-format-cym-to-work-around-some-bugs
    Only total ignorance about PowerShell makes someone post such bad 'bug' report. He got critics about his bad post, but I'm sure he doesn't understand.
    Column headers for alias should include DisplayName instead of just Name
    https://connect.microsoft.com/PowerShell/feedback/details/908152/column-headers-for-alias-should-include-displayname-instead-of-just-name
    In fact, the information displayed is already DisplayName, but this guy has no technical knowledge to understand what is happening.
    These 2 forum members just messed up a thread that should be free of negative contributions, besides off topic.

  • What is the min required firmware for axiom 600 stroage?

    what is the min required firmware for axiom 600 storage?

    Hello,
    I'm not sure that we really have a minimum required FW version, however I will let my colleagues correct me if I'm wrong. What we have is a recommended FW version (see the document below).
    However, you can have a look at the following documents that might help you to understand what is the release mechanism as well as understand what is the latest release available for your Axiom 600:
    Pillar Axiom: Software/Firmware Releases Mechanisms (Doc ID 1530588.1)
    Pillar Axiom: Current Recommended Software Versions (Doc ID 1558848.1)
    Regards
    Nicolas

  • What is the best way to submit a Concurrent Request over a DB Link?

    Hi,
    We have a requirement to submit a Concurrent Request over a DB Link. What is the best way to do this?
    What I've done so far is I've created a function in the EBS instance that executes FND_GLOBAl.APPS_INITIALIZE and submits the Concurrent Request. I then call this function remotely from our NON-EBS database. It seems to work fine but I found out from metalink article id 466800.1 that this is not recommended.
    Why are Concurrent Programs Calling FND_GLOBAL.APPS_INITIALIZE Using DBLinks Failing? [ID 466800.1]
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=11129815723825&type=DOCUMENT&id=466800.1&displayIndex=1&_afrWindowMode=0&_adf.ctrl-state=17dodl8lyp_108
    Can anyone suggest a better approach?
    Thanks,
    Allen

    What I've done so far is I've created a function in the EBS instance that executes FND_GLOBAl.APPS_INITIALIZE and submits the Concurrent Request. I then call this function remotely from our NON-EBS database. It seems to work fine but I found out from metalink article id 466800.1 that this is not recommended.
    Why are Concurrent Programs Calling FND_GLOBAL.APPS_INITIALIZE Using DBLinks Failing? [ID 466800.1]
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=11129815723825&type=DOCUMENT&id=466800.1&displayIndex=1&_afrWindowMode=0&_adf.ctrl-state=17dodl8lyp_108
    Can anyone suggest a better approach?Please log a SR and ask Oracle support for any better (alternative) approach. You can mention in the SR that your approach works properly and ask what would be the implications of using it (even though it is not recommended).
    Thanks,
    Hussein

  • What are the AM Tuning parameters need to be set for 500 concurrent users

    Hi All,
    We are using JDEVADF_11.1.1.5.0.
    What are the exact AM parameters(Pooling and Scalability tab) to be set when we planned for 500+ concurrent users?
    Along with this do we need to set any parameters at weblogic server level, if any please give inputs.
    Any input's would be appreciated.
    Thanks in advance.
    Regards,
    Dinesh

    We can?t give you exact numbers as there are many factors influencing the performance. In hte end you have to make a load test to find the right set of parameters. A good starting point is Andrejus's blog Andrejus Baranovskis's Blog: Stress Testing Oracle ADF BC Applications - Internal Connections and  Andrejus Baranovskis's Blog: Stress Testing Oracle ADF BC Applications - Do Connection Pooling and TXN Disconnect Level
    Timo

  • What JVM do you use?  What is the best choice?

    We may be rolling forward Discoverer 10.1.2 sometime in the near future. The current release uses Sun J2RE 1.4.2-06. There is a J2RE 1.4.2-09 available, as well as JRE 5.0 Update 5. Deploying JVMs is a pain when potentially hundreds of PCs are involved, and I'm sure there will be a version of Discoverer sometime in the future will prefer a different JVM.
    What's the best choice, which JVM is supported & solid with the existing 10.1.2 release as well as potential future releases?

    Hi,
    the plus works as standard with J2RE 1.4.2-06. Right, but that isn' a must cause you can change that.
    Oracle said this:
    "Dynamic Versioning for SUN Plug-in is a standard Sun feature and is described at Sun website:
    http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/using_tags.html#in-ie
    The changes documented are not supported by Oracle. While the changes documented have been tested on a limited number of platforms, these changes are provided without any claims to their accuracy"
    The solution is easy:
    1. Under the path ...\discoverer\config from App-Server you find the 'configuration.xml' file
    2. Open this file and search for 'jvm name' for 'sun'
    3. Change the classid="clsid:CAFEEFAC-0014-0002-0004-ABCDEFFEDCBA" (static versioning ! ) through this classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" (dynamic versioning !!) and save the file
    4. Restart the discoverer App-Server - ready
    From now the Plus will use every version above J2RE 1.4.2-06 and only if there is an older version he will download his own version.
    We tested this with several versions 1.4.2-xx and with JRE5-3. It works.
    Regards
    Norbert

Maybe you are looking for

  • How to connect Apple TV to wi-Fi at a Marriott hotel

    Traveling with my new Apple TV, the setup process hangs up on "acquiring the time and date" when attempting to tie it in to the Marriott Hotel's AT&T wi-Fi network. It appears to get an IP address, but when logging in with my iPhone there's always a

  • TRANSFORMATION AND DTP

    Hi all, I have two questions: 1. If I have a 3x datasource..can i still use Transformations and DTP's with it in BI 7.0? 2. I have a cube and know the datasources. Could some one give me the modelling steps that come next... i am using BI 7.0 and wan

  • Getting back the review quiz-button

    Hello, Somehow I deleted the review quiz-button that is shown in the Quiz result-slide. How would I get it back? It happened a while back so Ctrl+Z is long gone . As I can't add any new buttons in a question slide, I can't work it out that way either

  • Java.lang.IllegalStateException: IMW-00008

    Hi, I built a JSP application (based in BC4J) with JDeveloper 9.0.3) which was working well, but now, when I try to update rows I get the following Error: java.lang.IllegalStateException: IMW-00008: information not available; request was released by

  • Purpose of icons in iCloud Photos?

    When viewing individual pictures in my photo stream under iCloud Photos on the Apple TV, I notice that there is an icon in the bottom right corner of the TV screen.  There is the "talking bubble" icon like that which is used for the iMessages icon.