How to access JVM Code

Hi, I am developing benchmarks for testing optimization in java including in JVM as my final year UG project. I could not find if there is a possibility to access a source code of JVM. There are several benchmarks that test the static interpretation but didn't come across with dynamic one. Can anyone help?
Thanks,
Alex

Nobody in this forum is likely to be able to help you.
This is NOT a java programming forum. We're focused on the Messaging Server.
Please locate the correct forum, and ask there.

Similar Messages

  • How to access t-code FTW0 in ECC?

    Gurus:
    I try to access FTW0 in  ECC6.0 but get error
    Transaction FTW0 is an area menu and cannot be executed
    Could you help tell how to access FTW0?   Thanks!!

    Not sure what the problem is but I was able to "access" it. Like the error says, it is an area menu. So when executed, the menu on the left changes to display some FI related Tcodes and nothing else.
    Are you trying to do something else other than this ?
    Try executing this from the SAP Easy Access Screen (Main Screen after you log in) and then check the Menu on the left. I'm sure you will notice the difference. I think /nFTW0 will give you the error message below.
    Kunal

  • How to access assemly code in java

    dear i want to access assembly code in java . plz help me. thanx.

    Assembly, C, C++, Fortran, etc. can be accessed most directly via the Java JNI facility. For assembly, you'll have to write a native C/C++ layer to accept the JNI call and forward it to the assembly code. If the assembly code is C-callable (i.e. it conforms to the C calling conventions on your platform) then the job is really no more difficult that calling any C routine.
    Chuck

  • Adobe Muse: how to access HTML code inserted?

    Hi everyone,
    do you know how to edit HTML code already inserted in an Adobe Muse template?
    This code is for analytics purpose.
    Thanx
    fremo

    This forum is actually about the Cloud, not about using individual programs
    Once your program downloads and installs with no errors, you need the program forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/muse for program questions

  • How to access source code for checked in .sca files in the dev environment

    Hello,
    I am trying to do some CRM E-commerce development. The basis personnel has checked in all the relevant SCA archives listed in the setup documentation.  He has since given me the Servername and port for accessing the NWDI that I can set in the Development Environment. I can log on to the system and see the repository browser with all the branches.
    For example:
       CustomerConfig -> CRMEXT -> sap.com_SAP-CRMWEB -> dev -> active
    CustomerConfig -> CRMEXT -> sap.com_SAP-CRMWEB -> dev -> inactive
    How ever there is no code there to sync. Is there something missing in our setup for the NWDI so I can sync the CRM E commerce projects to the local system and modify them.
    Is there anything we have to do either in NWDI or in the IDE to see the source code to extend it.
    Thank You for your help in this matter.
    Sumit.

    Hey Pascal, Thanks for the help. We did a batch check in and the code did not go through. After we tried the check-in in the non-batch  mode it worked.

  • How to access Return Code sent to client from within a plugin

    If the server sends back some kind of error to the client I want to be notified inside a plugin.
    For this I know I can use the SLAPI_PLUGIN_POST_RESULT_FN.
    But this function gets called every time the servers sends anything to the cleint. I want to set some kind of flag that indicates that the server sent a error code for the last operation. This way my other post operation plugins will not processs entries when they see this flag.
    Any suggestions/advice to get the error code sent by the server would be appreciated.
    Thanks,
    Kamlesh

    Hi Terry,
    According to your description, my understanding is that you don’t want the yollow bar notification to display when you open Access documents.
    This issue seems to be about the client application. Please compare the followings with the things that you did:
     1.Open the documents
     2.Click File->Options->Trust Center->Trust Center Settings
     3.Click Protected View, unselect ‘Enable Protected View for originating from the Internet’
     4.Click Message Bar, select ‘Never show information about blocked content’
     5.Click Macro Settings, select ‘Disable all macros without notification’
    In addition, as this issue is about Office, I commend you create a new thread in Office forum, more experts will assist you with this issue.
    Office forum:
    http://social.technet.microsoft.com/Forums/en-US/home?category=officeitpro
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to access generic& PacketFilter messageFilter = new AndFilter in jre1.6

    in this code is not supported in jre1.6.0 ver but it is supported jre1.5,
    how to access this code in jre1.6.0 and also it's not supported in generic classes.........
    PacketFilter messageFilter = new AndFilter(new FromContainsFilter(room),
         new PacketTypeFilter(Message.class));
         messageFilter = new AndFilter(messageFilter, new PacketFilter() {
         public boolean accept(Packet packet) {
         Message msg = (Message)packet;
         return msg.getType() == Message.Type.groupchat;
    ArrayList<String> list = new ArrayList<String>.......

    AndFilter has never been part of JSE.

  • In VB Programming code -- How to access the formula for suppressing a field

    In VB Programming code -- How to access the formula for suppressing a field
    I am using Crystal Reports 2008 v1
    Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
    My problem is that I am unable to access the formula used to dynamically suppress a field.
    The following code is working:
    mySections = rd.ReportDefinition.Sections
    For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
       ' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
       iloop = 0
       For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
               If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
                   myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
                   myTextObject.Text = "new field text goes here"
                   mySection.SectionFormat.EnableSuppress = True
                   '  Here is where I want to change the formula for the Suppression
                End if
                iloop = iloop + 1
        Next
    Next
    I can not find any reference to the actual suppression formula in the SDK help file.
    Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten.  The results of the formula determine the suppression.
    Is there a way to reference this formula.  I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.

    Hello, Mark;
    If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
    If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
    Elaine

  • How can a JVM terminate with an exit code of 141 and no other diagnostics?

    Hello,
    We are encountering a JVM process that dies with little explanation other than an exit code of 141. No hotspot error file (hs_err_*) or crash dump.  To date, the process runs anywhere from 30 minutes to 8 days before the problem occurs. The last application log entry is always the report of a lost SSL connection, the result of an thrown SSLException.  (The exception itself is unavailable at this time – the JVM dies before it is logged -- working on that.)
    How can a JVM produce an exit code of 141, and nothing else?  Can anyone suggest ideas for capturing additional diagnostic information?  Any help would be greatly appreciated!  Environment and efforts to date are described below.
    Thanks,
    -KK
    Host machine: 8x Xeon server with 256GB memory, RHEL 6 (or RHEL 5.5) 64-bit
    Java: Oracle Java SE 7u21 (or 6u26)
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
    JVM arguments:
    -XX:+UseConcMarkSweepGC
    -XX:+CMSIncrementalMode
    -XX:+CMSClassUnloadingEnabled
    -XX:MaxPermSize=256m
    -XX:NewSize=64m
    -Xms128m
    -Xmx1037959168
    -Djava.awt.headless=true
    -Djava.security.egd=file:///dev/./urandom
    Diagnostics attempted to date:
    LD_PRELOAD=libjsig.so.   A modified version of libjsig.so was created to report all signal handler registrations and to report SIGPIPE signals received.  (Exit code 141 could be interpreted as 128+SIGPIPE(13).)  No JNI libraries are registering any signal handlers, and no SIGPIPE signal is reported by the library for the duration of the JVM run.  Calls to ::exit() are also intercepted and reported.  No call to exit() is reported.
    Inspect /var/log/messages for any indication that the OS killed the process, e.g. via the Out Of Memory (OOM) Killer.  Nothing found.
    Set ‘ulimit –c unlimited’, in case the default limit of 0 (zero) was preventing a core file from being written.  Still no core dump.
    ‘top’ reports the VIRT size of the process can grow to 20GB or more in a matter of hours, which is unusual compared to other JVM processes.  The RES (resident set size) does not grow beyond about 375MB, however, which is an considered normal.
    This JVM process creates many short-lived Thread objects by way of a thread pool, averaging 1 thread every 2 seconds, and these objects end up referenced only by a Weak reference.   The CMS collector seems lazy about collecting these, and upwards of 2000 Thread objects have been seen (in heap dumps) held only by Weak references.  (The Java heap averages about 100MB, so the collector is not under any pressure.) However, a forced collection (via jconsole) cleans out the Thread objects as expected.  Any relationship of this to the VIRT size or the JVM disappearance, however, cannot be established.
    The process also uses NIO and direct buffers, and maintains a DirectByteBuffer cache. There is some DirectByteBuffer churn. MBeans report stats like:
    Direct buffer pool: allocated=669 (20,824,064 bytes), released=665 (20,725,760), active=4 (98,304)  [note: equals 2x 32K buffers and 2x 16K buffers]
    java.nio.BufferPool > direct: Count=18, MemoryUsed=1343568, TotalCapacity=1343568
    These numbers appear normal and also do not seem to correlate with the VIRT size or the JVM disappearance.

    True, but the JNI call would still be reported by the LD_PRELOAD intercept, unless the native code could somehow circumvent that.  Using a test similar to GoodbyeWorld (shown below), I verified that the JNI call to exit() is reported.  In the failure case, no call to exit() is reported.
    Can an OS (or a manual) 'kill' specify an exit code?  Where could "141" be coming from?
    Thanks,
    -K2
    === GoodbyeWorldFromJNI.java ===
    package com.attachmate.test;
    public class GoodbyeWorldFromJNI
        public static final String LIBRARY_NAME = "goodbye";
        static {
            try {
                System.loadLibrary(LIBRARY_NAME);
            } catch (UnsatisfiedLinkError error) {
                System.err.println("Failed to load " + System.mapLibraryName(LIBRARY_NAME));
        private static native void callExit(int exitCode);
        public static void main(String[] args) {
            callExit(141);
    === goodbye.c ===
    #include <stdlib.h>
    #include "goodbye.h"  // javah generated header file
    JNIEXPORT void JNICALL Java_com_attachmate_test_GoodbyeWorldFromJNI_callExit
      (JNIEnv *env, jclass theClass, jint exitCode)
        exit(exitCode);
    === script.sh ===
    #!/bin/bash -v
    uname -a
    export PATH=/opt/jre1.7.0_25/bin:$PATH
    java -version
    pwd
    LD_PRELOAD=./lib/linux-amd64/libjsigdebug.so java -classpath classes -Djava.library.path=lib/linux-amd64 com.attachmate.test.GoodbyeWorldFromJNI > stdout.txt
    echo $?
    tail stdout.txt
    === script output ===
    [keithk@keithk-RHEL5-dev goodbyeJNI]$ ./script.sh
    #!/bin/bash -v
    uname -a
    Linux keithk-RHEL5-dev 2.6.18-164.2.1.el5 #1 SMP Mon Sep 21 04:37:42 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    export PATH=/opt/jre1.7.0_25/bin:$PATH
    java -version
    java version "1.7.0_25"
    Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
    Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
    pwd
    /tmp/goodbyeJNI
    LD_PRELOAD=./lib/linux-amd64/libjsigdebug.so java -classpath classes -Djava.library.path=lib/linux-amd64 com.attachmate.test.GoodbyeWorldFromJNI > stdout.txt
    echo $?
    141
    tail stdout.txt
    JSIG: exit(141) called
    JSIG: Call stack has 4 frames:
    JSIG: ./lib/linux-amd64/libjsigdebug.so [0x2b07dc1bdc2f]
    JSIG: ./lib/linux-amd64/libjsigdebug.so(exit+0x29) [0x2b07dc1bea41]
    JSIG: /tmp/goodbyeJNI/lib/linux-amd64/libgoodbye.so [0x2aaab3e82547]
    JSIG: [0x2aaaab366d8e]       
    === ===

  • How to access a JAVA Script variable in JSP Code

    How to access a JAVA Script variable in JSP Code. I have been unable todo this.
    Plz Suggest a way.
    Thanks
    Soumya

    try to do this code
    String s=request.getParameter("javascriptvariablename");

  • How to access code in other projects?

    Hi all,
    I ran into an issue in FlexBuilder I'm not sure how to resolve, hopefully someone here can help.  I have several projects in my workspace right now I'll call them project A and B.  I have one project in particular, call that project C, that needs access to code contained in a couple of other projects, A and B.  I don't want to copy all those files from the other projects into this one cause there's a lot of files, it's tedious, and unmaintainable.  I don't want to make all those files into a flex library either cause it's not really necessary.
    I tried adding the folders in project A and B into the source path of project C but when I tried to import those files it did not work.  So does anyone know of a way that I can access code from other projects in the same workspace?  If you could provide an example also that would be greatly appreciated.
    Thanks in advance.
    Additional info: The code complete for the import actually shows me the files in the source path are available.  In fact, when I hit F3 it points me to the proper file in the other project.  However, FlexBuilder keeps telling me the type was not found or it isn't a compile time constant.

    Michael Borbor wrote:
    I never said don't use OOP, Flex SDK is all about classes, and abstraction, but last time I check there wasn't polimorphism, so AS3 it's not yet a purely OO.
    No polymorphism? You should check again. Just because overloading is not supported that does not mean that polymorphism can't be applied. Polymorphism does not start or end with overloading, please read up on polymorphism ( http://www.adobe.com/devnet/actionscript/articles/oop_as3_05.html or find a more generic definition and see that polymorphic principles can be applied in AS 3.0 too ).
    No, ActionScript is not purely OOP, but what is? The only language I know of that is considered "a pure OOP language" is Java. Does that make other languages less good? Definitely not. Just because AS 3.0 does not support overloading it does not mean that OOP principles can't be applied and nor does it mean that it's not a valid OOP language.
    Michael Borbor wrote:
    Instead of learning this architectural stuff If I were new to Flex, first I'll learn what the heck is the Flex SDK, and obviously AS3, then I can move on to design patter, singletons, decorators, PureMVC, and so on.
    Well, sice I don't know ehwhoknows and I have no idea how new he is ( he may be new to Flex but that doesn't mean that he is new to programming ), I took "the risk" to add an additional opinion to his post saying that "sure what ntsiii said is totally cool but in the future, you might want to read up on OOP and design patterns because they offer much more than mixing projects in a barbaric manner".
    Obviously, if he is new to programming ( a detail that I don't see being mentioned in his post ) then he should stick to the simple things, but does that mean that we can't point out other solutions that may be more complex and harder to understand for a newbie at the moment. At least, he'll now know that there are other solutions out there too. Everything has it's time, but without telling him that "hey, solution A si ok, but solution B would be much better on the long run" then how do you expect him to find out about solution B? By accident?
    I wasn't trying to prove anyone wrong, all that I wanted to point out is that there are other solutions out there too that offer much more on the long run. If he can't handle OOP at the moment, no problem, but at least give him the chance to try it out.
    @ ATIF FAROOQ: I totally agree that it would be nice if the guys at Adobe would implement overloading and not only, abstract classes would be nice too ( and I mean "real abstract classes" like in Java, not workarounds ).
    @ Muzak: Totally agree, I said to use a Library mainly because that's what I use most ( beside simply pasting classes from a project into another; I do this occasionally and sometimes when I'm lazy ). In either case, the final goal is achieved: reusability.
    With best regards,
    Barna Biro

  • How to access XI_AF_MSG table in Composite Application Framework Java Code

    Hi Experts,
    I've no knowledge about PI. In one of my projects, I need access the XI_AF_MSG table of PI through java code in a composite application.
    How do I access this table? I've searched this forum for this query but the replies say that any SQL editor can be used to access XI_AF_MSG table. But my question is; How do I get the login details of the database? In the first place, how do I access the underlying database layer of PI? Is there any JAR file which can be used to make the connection?
    It would be of great help if any expert on this can give me a detailed reply.
    Thanks a lot in advance.
    Best Regards,
    Nitin

    Hi Nitin,
    The AFW runs on the J2EE Engine, so this table is in the Java Schema of the database and thus not visible in the ABAP stack. I guess you can use any tool your database provider offers for looking at table contents (e.g. SQLPlus).
    Regarding how to access the table please contact you basis administrator they will have access to the tables as they have j2ee_admin login ids and pwds.
    Regards
    joel

  • How to access system registry through java program

    Friends
    I have to access System registry of Windows 2000 by Java program. I don't know how to access the registry by using java code. Please help me. Else
    I want to create a setup file for my application. before setup my application i have to check whether the system has JVM or not. If its not then i have to install JVM first and then my application. so i need to access system registry. please give me a solution for this.
    Thanks in advance
    Ramesh

    I don't know how to access the registry
    by using java code. You can't, without using a native interface (JNI type) library.
    This is one, there are others, do a Google search:
    http://www.bayequities.com/tech/Products/jreg_key.shtml

  • How to access .asmx Web Service using JAVA? Newbie

    Hello Experts,
    Currently, I have a project where in I have to access a ,NET web service. It is made of C#. I just want to ask how will I start the accessing process? I made this simple equation on how my project is.
    Java Project + C#.Net Web Service = Integration
    1. Do i need to create a Web Service too for the Java Project? If yes, What are the necessary tools needed for the creation of this Java Web Service?
    2. The .NET Web Service is available online. (It is made by other people).
    3. Based on the equation, what is the equivalent technology for the + sign?
    4. Can you site a concrete example for accessing a web service?
    5. I'm new here. Totally I have no idea where to start.
    6. Thank you experts.
    Edited by: Benedict.Aluan on 05 30, 08 1:38 PM
    Edited by: Benedict.Aluan on 05 30, 08 1:39 PM

    Hello
    Thanks a lot for your help ...
    I am developing simple J2EE based web service client using IBM WSAD 5.1. I have used the following code to call .asmx web service in Java
    String url = "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl";
         String namespace = "http://tempuri.org/";
         name = request.getParameter("txtName");
         try
              System.out.println("In Internet Service");
              ServiceFactory factory = ServiceFactory.newInstance();
              Service serv = factory.createService(new URL(url),new QName(namespace,"TempConvert"));
              System.out.println("Got Service......");
              Call obj = (Call)serv.createCall();
              System.out.println("Got Call......");
              obj.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY,"");
              obj.setProperty(Call.OPERATION_STYLE_PROPERTY,"wrapped");
              obj.setTargetEndpointAddress(url);
              obj.setPortTypeName(new QName(namespace,"TempConvertSoap"));
              obj.setOperationName(new QName(namespace,"FahrenheitToCelsius"));
              obj.addParameter("param1",XMLType.XSD_STRING,String.class,ParameterMode.IN);
              obj.setReturnType(XMLType.XSD_STRING);
              System.out.println("Parameters Set.....");
              Object[] params = new Object[]{name};
              k = (String)obj.invoke(params);
              System.out.println("Result: "+k);
         catch(Exception e)
            System.out.println("Exception is : "+e);
        }But this code is throwing exception that
    Invalid Address "http://www.w3schools.com/webservices/tempconvert.asmx?wsdl"I have also tried this URL with Java Proxy. But it showing the same error.
    Plz can u tell me how to access .asmx web service ?
    Waiting 4 reply.

  • How to access a  web service(.wsdl) from portal component.

    Hi ,
    Is there any document/tutorial available on how to access a webservice from portal component ?
    I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
    but the urls in the link are not working...
    i want  to know the steps to access webs service and sample code if some body has already done that..
    Thanks for the help.
    Lakshmi

    Hi Lakshmi,
    See the links below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
    Hope this helps.
    Regards,
    Pooja.

Maybe you are looking for

  • Message Delivery in a Clustered Environment

    Hello, I was wondering if someone could give me a quick explanation/lesson on the following scenario. I have a two broker cluster (say, SERVERA and SERVERB where SERVERA is the master). Each server has a consumer connected to it, CONA and CONB respec

  • Preview icon on windows 7/8 has status, but not "hangup"

    When you hover over the skype icon on the taskbar in Windows 7/8, the preview window has the ability to set your status (away/do not disturb/invisible etc) which is great.  however, it would be GREAT, if while in a call, I could hang up from the prev

  • HT201250 I cannot enter time machine when I press the icon to enter time machine

    I cannot enter the time machine when I press the time machine icon. I press and nothing happens, so I'm not sure even if it is backing up at this point. When i go to my Tme Capsule it has the folder there for back-ups and the most recent, but no acce

  • Adding extra output modules in AE script

    Hi, Is it possible to add extra output modules to a render queue item using an AE script? I can't seem to find the functionality in the guide, and OMCollection is read-only so I can't add using standard array functions. I need additional output modul

  • ArcSight Logger & Cisco SA520W

    Cisco, What's the process to put in a feature request for an SA520W? I recently installed ArcSight logger in my attached VMware test environment, and I found out the SA520W cannot forward syslog events to anything other then UDP 514. ArcSight logger