Is there a way to untag the tagged object?

Is there a way to untag the tagged object in JVMTI ?
Thanks, David

In the "Object Tags" subsection of the "Heap" section in the JVM/TI spec:
Setting a tag to zero makes the object untagged.

Similar Messages

  • Is there a way to force the Tag Engine to dump its input buffer to the database?

    I have an application where I start a process and log the data, and then call a subVI that uses the Read Historical Trend VIs to get all of the data from when the process started until now. The problem is that the Historical Trend VIs only read from the database on disk, and the Tag Engine's buffer doesn't write to disk until it's full (or possibly times out; I'm not sure about that, though). Is there a way to force the Tag Engine to write to disk, so that the Historical Trend VIs will return the most recent data?
    Shrinking the buffer will help a little, but that will only result in missing less of the most recent data. One possible hack is to have a dummy tag that I simply write enou
    gh data to that will cause the buffer to be written to the database. I was hoping for something more elegant, though.

    That's a good question.
    The control about the datalogging and the DSC Engine is all done (more or less) automatically - you feel the NI ease-of-use idea
    That means the Citadel service (one of the NI Services installed by LabVIEW DSC) is responsible of taking care about the datahandling (writing to and reading from the database files including caching some data e.g. index files, frequently used data...).
    The DSC Engine makes a request to the Citadel service that this data has to be logged. Everything else is handled by the Citadel service. Internally, there are two kinds of logging periods handled through the Citadel service. One for traces being viewed (a small period: 200ms) and one for traces not being viewed (slow (big) log period: 20000ms). That
    means, if Citadel gets a request to store a value it will buffer it and store it as soon as possible depending on other circumstances. One depends on the fact if this trace data is being viewed (e.g. with Read Histroical Trend.vi) If you request/read to view a trace you should pretty much see the current values because citadel should use the fast log period.
    The Citadel service takes care as well about setting priorities e.g. the writes before the reads (We don't want to loose data - right?). That means if you really stuff the system by writing a lot of data the CPU might get overloaded and the reads will happen less often.
    If you really want to see "real-time" data I would recommend to use the "Trend Tags.vi". With this approach you avoid the chain DSCEngine-Output Buffer-CitadelService-InputBuffer-File-HD... and back.
    I hope this info helps.
    Roland
    PS: I've attached a simple VI that has a tip (workaround) in it which might do what you are looking for... However, Nationa
    l Instruments cannot support this offically because the VI being used are internally DSC VIs that certainly change in the next version of LV DSC... and therefore you would need to "re-factor" your application.
    Attachments:
    BenchReadHistTrend.llb ‏104 KB

  • Is there a way to find the class objects memory size?

    Hi Friends,
    Please help.
    Is there a way to find the number of Objects created and total size?
    For example:
    class AgeRecord
    int start;
    int end;
    AgeRecord(int start, int end)
    this.start = start;
    this.end = end;
    In a loop if I create 1000 objects, how will I get the total memory size
    Thanks and Regards
    JG

    You might find this useful...
    package forums;
    http://weblogs.java.net/blog/dwalend/archive/2007/11/the_thing_about.html
    http://forums.sun.com/thread.jspa?threadID=457279&start=30&tstart=0
    http://www.velocityreviews.com/forums/t364574-size-of-boolean-type.html
    The JLS doesn't specify the size of a boolean, leaving it upto the JVM
    implementor to define. Sun's JVM stores booleans as:
    (1) a boolean is-an int; i.e. a signed 32 bit twos-compliment integer.
        At face value, this is an innordinate waste of space, but Java uses a
        32-bit stack frame, and most (modern) CPU's use a 32-bit word anyway,
        so the wasted space is worth the CPU cycles, and it's simple.
    (2) a boolean[] is-a byte array, using 1 byte per element, rounded up to the
        nearest 8, plus 8 bytes for the array-object itself.
        For example: boolean[] bools = boolean[100];
        100 mod 8 = 4; so that'd be 104 bytes + 8 bytes = 112 bytes.
        So, let's dis/prove the contention by experiment.
        1,000,000 mod 8 = 0 so 1,000,000 + 8 bytes for the array = 1,000,008
    class BooleanArraySizeTest
      public static void main(String[] args) {
        final Runtime rt = Runtime.getRuntime();
        System.out.println("The contention is that each iteration should use 1,000,008 bytes.");
        try {
          long before, after;
          final int TIMES = 32;
          boolean[][] bools = new boolean[TIMES][];
          for (int i=0; i<TIMES; i++) {
            before = rt.totalMemory() - rt.freeMemory();
            int n = 1000*1000-(TIMES/2)+i;
            bools[i] = new boolean[n];
            after = rt.totalMemory() - rt.freeMemory();
            System.out.print(n);
            System.out.print('\t');
            System.out.print(after-before);
            System.out.println();
        } catch (Exception e) {
          e.printStackTrace();
    999984 used=1000000 bytes
    999985 used=1000000 bytes
    999986 used=1000000 bytes
    999987 used=1000000 bytes
    999988 used=1000000 bytes
    999989 used=1000008 bytes
    999990 used=1000008 bytes
    999991 used=1000008 bytes
    999992 used=1000008 bytes
    999993 used=1000008 bytes
    999994 used=1000008 bytes
    999995 used=1000008 bytes
    999996 used=1000008 bytes
    999997 used=1000016 bytes
    999998 used=1000016 bytes
    999999 used=1000016 bytes
    1000000 used=1000016 bytes
    1000001 used=1000016 bytes
    1000002 used=1000016 bytes
    1000003 used=1000016 bytes
    1000004 used=1000016 bytes
    1000005 used=1000024 bytes
    1000006 used=1000024 bytes
    1000007 used=1000024 bytes
    1000008 used=1000024 bytes
    1000009 used=1000024 bytes
    1000010 used=1000024 bytes
    1000011 used=1000024 bytes
    1000012 used=1000024 bytes
    1000013 used=1000032 bytes
    1000014 used=1000032 bytes
    1000015 used=1000032 bytes
    ENVIRONMENT:
      Microsoft Windows [Version 6.0.6000]
      Copyright (c) 2006 Microsoft Corporation.  All rights reserved.
      C:\Users\Administrator>java -version
      java version "1.6.0_12"
      Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
      Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
    */Cheers. Keith.

  • Is there any way to overwrite the tags of podcast feed automatically?

    I'm looking for an addon or plugin that lets me overwrite the tags on my podcast feeds. Basically, there are several podcast feeds that I subscribe to that either have horribly tagged files or simply no tags at all. I'd like to be able to have iTunes automatically set the artist for certain feed tags automatically. I have found a few other podcast downloaders that offer this, however not all of my feeds work and the interface is not as good as iTunes.
    Any suggestions? It's driving me batty!

    Jake Harrison wrote:
    Have you got any idea on how to answer this problem that I'm having..?
    http://discussions.apple.com/thread.jspa?threadID=2617801&tstart=15
    Sure, I've addresed the "merging podcast series together" issue in your other thread. Sadly we can't do that via a script as yet, however we can update other information provided we know how to identify the items of interest and what values we want to fix.
    Going back to my example of podcast categories here is an edited section of my current script for correcting missing/unwanted values:
    Select Case .Album
      Case "Ask A Ninja","Ask A Ninja - iPod"
        .Category="Ask A Ninja"
        .AlbumArtist="Ask A Ninja"
      Case "The Pod Delusion"
        .Category="Skepticism"
        .Artist="The Pod Delusion Podcast"
        .AlbumArtist="The Pod Delusion Podcast"
    End Select
    In my case each podcast I want to change can be identified by its Album value so having identified the series I can then correct one or more values. When all the values are corrected the episode will no longer appear in my smart playlist of Podcasts To Fix. I currently pre-select these items before calling the script but I'm pretty sure I can make it check the contents of a specific named playlist without too much trouble. You mentioned that some of yours don't have the *Podcast Name* set (which is the same as album) so what other field (or part thereof) would you use to identify them?
    Adding artwork at the same time as other changes should be simple enough. Simply save the desired artwork image as Folder.jpg in the podcast folder and I'll include a routine to embed it. That said, there are no smart playlist rules to distinguish items with & without artwork however I have a generic script called CreateFolderArt which can update local folder artwork and then embed the same art into any tags that are missing it.
    My current FixPodcasts script is still a little short of comments showing how you might edit it but I'll try to post something suitable either later tonight or tomorrow evening.
    tt2

  • Is there a way to batch change tags in folders?

    I am cleaning up from a data loss in one of my external HDD that held my photos.  I am trying to add tags to the recovered photos and was wondering if there was an easier way to do this other than selecting one photo at a time and adding the tag.  When I shift click on more than one item and then get info, all of the selected items widows open up individually.  Is there a way to enter the tag info once and have it applied to all selected items?  Heck, Im not even
    one quarter of the way finished yet with a long way to go.  Help of any kind would be appreciated.
              Geno

    What sort of tag are you wanting to add. 
    Are you going to use iPhoto to manage those photos. If you you an batch add keywords, descriptions and titles to the photos. Those metadata can be written to the image file if you need to use them outside of iPhoto. 
    If you're referring to tags for the files then you'll have to use a 3rd party app.  Go to MacUpdate.com and search for "tag files" or something similar to see what comes up.

  • Is there a way to automate the CFX tags installation?

    Hello,
    I'm currently in the process of re-installing a web farm of ColdFusion 8 servers (W2K8, IIS 7.5).
    I have to install a number of CFX tags (C++) on each server to get the code running.
    Is there a way to automate the installation of the CFX tags (regedit imports, VBS, PowerShell...)?
    I found some link indicating that keys should be imported in the registry at: HKLM\Software\Allaire, but Allaire does not even exist in this branch (I believe that the instructions were true of older versions of CF).
    I installed one of the tags manually and noticed that the file neo-runtime.xml was updated with:
    <?xml version="1.0"?>
    <wddxPacket version="1.0">
      <header/>
      <data>
        <array length="18">
          <boolean value="true"/>
          <struct type="coldfusion.server.ConfigMap">
            <var name="session_variables">
              <boolean value="false"/>
            </var>
            <var name="application_variables">
              <boolean value="false"/>
            </var>
            <var name="server_variables">
              <boolean value="false"/>
            </var>
          </struct>
          <struct type="coldfusion.server.ConfigMap">
            <var name="cfx_http5">
              <struct type="coldfusion.server.ConfigMap">
                <var name="NAME">
                  <string>cfx_http5</string>
                </var>
                <var name="CACHE">
                  <string>true</string>
                </var>
                <var name="PROCEDURE">
                  <string>ProcessTagRequest</string>
                </var>
                <var name="DESCRIPTION">
                  <string/>
                </var>
                <var name="TYPE">
                  <string>cpp</string>
                </var>
                <var name="LIBRARY">
                  <string>D:\ColdFusion8\cfx\cfx_http5\cfxhttp5.dll</string>
                </var>
              </struct>
            </var>
          </struct>
    Can I simply add the XML node to get it running?
    Thanks in advance for any lead to the solution.

    This is great! but I'm not there yet. I figured how to assign little midi triggered melodies to a touch track. I used to do stuff like this on an old Buchla years ago. How do I get the automation on the midi track to control the filter on an audio track? I created regions with the automation I want on a midi track, then I assigned those regions to keys with touch tracks. How do I get that to control the filter on the audio track?
    thanks,
    Lee

  • Is there a way to change the pinch-to-zoom feature?

    Is there a way to change the behavior of pinch-to-zoom in Safari 5.1.4 on Lion?  It seems to have adopted the iOS zoom (where it's a zoom into an area on the page) and I would prefer that it emulated a Command-+ type of page zoom.  When using pinch-to-zoom in a site like Gmail or Google Reader, the content ends up requiring horizontal scrolling if you pinch-to-zoom... while Command-+ increases the size of everything but keeps it within a single screen.
    Can this be done?  Is there the equivalent of the about:config page from Firefox?
    Apple... can you fix this (or offer an option to determine how pinch-to-zoom works in Safari)?!?!
    Thanks!
    - John

    Thanks for your response.
    I have searched for a solution to change the order of my tags and haven't found it.
    I add multiple tags to my emails and the color at a glance means something to me - if I add an earlier, more up the priority ladder it shows that color instead of the one that I want. I'm rambling but the fact remains that I would like to be able to change the tag priority.
    Have a great one!
    Teri

  • Is there a way to create editable tags in a dashboard section?

    Is there a way to create editable tags in a dashboard section?
    The requirement is - User should be able to enter comments in a edit box for a section in a dashboard and save it. For other users, this should show up as a non-editable comment while for the user it should be editable box.
    Example: In a report in a section on dashboard for Supplier Trends, a Purchase Manager should enter the commments -" This weeks trends show no issues. Next week watch out for supplier X". For everyone other than him, this should show up as comments.
    1. Is there a way to achieve this functionality?
    2. Can this be achived using write back option?
    3. Or will this require java scripting?
    Thanks

    Hi,
    If you want to have a better experience of your music files, how about just use WMP to enjoy all the songs, you can
    sort by Artists or Album or whatever you like. There, you can have a better and easier way to organize all your music
    files.
    For Windows Explorer, did you mean
    medium size icons in artist, while list icon in albums, you can just organize as you want like the following screenshot.
    If I'm missing something, please free contact me.
    Regards
    Yolanda
    TechNet Community Support

  • Is there a way to force the revalidation of last visited page on start of Firefox whithout no-store directive?

    When I set Firefox to start from last visited page and this page contains response headers Cache-Control:mast-revalidate and Expires:0 (not in meta tag) the page doesn't revalidated on the start of Firefox.
    Is there a way to force the revalidation in such situation but using the cache as usual. I mean - I can't use no-store directive in Firefox (can in Opera and Chrome) since it prevents usage of cache at all (and Last Modified mechanism in particular) ?

    Thanks try67, but it isn't a required field.  As I mentioned, only about 20% of submissions will require filling it in. 
    There isn't a submit button.  Not even sure what I would do with/or how I would implement a submit button.  After processing the form, the filled out form is 'Saved As' to keep the original forms integrity intact.  The 'Saved As' file  is renamed appropriately, and then it is printed to a PDF file and attached to the appropriate customer file.

  • Is there a way for preventing the placeholder from appearing if there is not content for it?

    I am creating a structure with tags and place holders.  However, not all my entries have all the same information. For example, my first entry has a 3 line address (123 West Street, Suit 23, Lincoln NE 68521) but my second entry only has 2 line address (456 North Street, Lincoln NE 68521).  When imported into my structure, the second address reads 456 North Street, <address2>, Lincoln NE 68521. My question for you is, is there a way for preventing the placeholder from appearing if there is not content for it?

    IJWAA,
    A work-around if you don't already use XSLT (to avoid having to) is to not have placeholder text, just use empty tags in your text layout that correspond to your incoming XML structure (any unused by the incoming structure IN ORDER, will be skipped). So long as you don't mind the blank line (rather than left over placeholder copy).
    If you had placeholder copy in your text box (<address2> for example) look at it using the story editor window (edit > edit in story editor, or command-y/control-y) so you can see the surrounding tags... style the surrounding tags by selecting them with the cursor and applying character or paragraph styles (with text in between the tags at the time) and then delete only the placeholder text from the middle of the sandwich, leaving the tags in tact. Trying to do this without being in the story editor will not work.
    Also, when importing the XML, I believe you'll still need to use "merge content" and "don't import empty white space" as you have been in order to replace placeholder text in any areas you had it.
    For situations when you have a mixture of dynamic and static text in the same text block and you are merging data (more so when the placeholder text has been deleted as I've suggested above but the dynamic tags for the possible incoming text are still there), you can use a tag you've created (I call mine "staticText") in your layout to wrap ANY bits of text you don't want to accidentally delete when the surrounding tags get populated or not, using the merge option upon importing your XML. Just be sure never to use "staticText" as an actual tag in your structure or surrounding incoming data. The text contained within staticText tags in your layout will be ignored by incoming data, and won't accidentally get deleted when it's sandwiched between two sets of tags that are dynamically populated when merge content is the import option.
    In my example below I'm using brackets/carats with the tag name instead of the color coded tag icon you see in the story editor, also I've used LB here to indicate a regular line break in Indesign and SP a regular space character in indesign:
    [staticText>Name:<staticText][firstName>Abc<firstName][staticText>SP<staticText][lastName>Xyz<firstName][staticText>LB<staticText]
    [staticText>Address:<staticText][address1><address1][staticText>LB<staticText]
    [address2><address2][staticText>LB<staticText]
    all other tags on following lines...
    This should just leave a blank line for address2 when no data comes in for it. I'm assuming you have line breaks, if not, all the better.

  • When I add a new bookmark, and the (star) Page Bookmarked window appears - is there any way to expand the size of that window so that I can see my entire list of folders when adding a new bookmark to an existing folder?

    When I add a new bookmark, and the (star) Page Bookmarked window appears - is there any way to expand the size of that window so that I can see my entire list of folders when adding a new bookmark to an existing folder? The endless scrolling technique is far too tedious when trying to add a new bookmark, because the window is simply too tiny. Is there maybe a plug-in that will let me grab the corner of that window and re-size it? Thanks!

    I suggest you install the "Add Bookmark to Here2" extension, then you can expand the the list but you will not see the bookmark itself in the list if that is what you wanted. At the top you have three major folders you can select one of them and scroll up and down. Below that you have your most recently used folders and you can select one of them instead and scroll up and down. You can see the folder the bookmark is in -- they get added to the bottom
    If you really want to see the bookmark within the folder the same extension allows you to bring the bookmark to the folder from say the bookmarks sidebar that is why it is named as such. I use it but mainly i use the dialog.
    Please continue reading about bookmarks and some related extensions at
    * http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox
    * https://addons.mozilla.org/firefox/addon/add-bookmark-here-2/
    * http://dmcritchie.mvps.org/firefox/firefox.htm#addbookmarkhere2
    * http://dmcritchie.mvps.org/firefox/kws.htm
    If you are not using tags at all, you can remove a whole lot of confusion by removing them from the dialog via the extension.

  • Is there any way to force the applet to load the file without using cache?

    Hi,
    I have the applet that renders some data from a file specified as the parameter. The problem is that the user can do something, that changes the input file and reloads the page, but the applet renders old data (from browser cache most probably)
    Is there any way to force the applet to load the file without using cache?
    Regards,
    Zdenek

    The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
    It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to!

  • Is there a way to change the xml message generated by JDeveloper Proxy

    Hi,
    I have created jax-ws proxy client using JDeveloper 10g. I need to change the generated xml message tags. I need to remove the namespace prefix tags from the xml message. For ex: the current request message looks like this:
    <ns0:EMPLOYEE_NAME>John</ns0:EMPLOYEE_NAME>
    should be
    <EMPLOYEE_NAME>John</EMPLOYEE_NAME>
    without the nso prefix.
    How can I do that? Please help me.
    Thanks.

    To original poster, please just select "Problem Solved" to help any future questions about this.
    Is there a way to change  the text message ringer? No.
    End of thread 

  • I create a birthday calendar in iCal and then click on it in iphoto at the begining of the calendar project each year.  Some how the birthday did not populate the photo calendar.  Is there a way to add the birthday iCal calendar into the calendar project?

    I created a birthday calendar to use in iphoto for calendar.  When a new calendar project is started each year, I click on it in.  Some how the birthday did not populate the photo calendar this year.  The photo calendar is almost complete.  Is there a way to add the birthday iCal calendar into the calendar project? I would prefer not to start over.

    Hi,
    If you first select the calendar on the left, so that its background is highlighted blue/grey, when you make a new events they should be added to that calendar.
    Best wishes
    John M

  • Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously?

    Hi Apple community,
    This is my first go at this so be kind,
    My question concerns launchpad. Coming from Snow Leopard I had been using spaces. I like to keep certain bundles of programs on separate desktops, for example all word processing related tasks in one place. I have set up the equivalent on Yosemite.
    My problem is concerns the loss of exposé. Now I know when you swipe into launch pad you get a very similar effect but the issue I am having concerns the "zoom out" effect when you swipe into launchpad. With exposé all open apps/pages etc would be fully exposed - in my case several (sometimes as many as 9 word documents). What I am running into is when I do this in / into launch pad the "pile" of docs is exposed but they are still overlapping so I can't get a good look at which is which and visually identify where I want to navigate to.
    My question is this; Is there a way to adjust the settings on launchpad so that when I swipe into it all the open apps/pages are fully separated (like in exposé) so that I can fully view all of them simultaneously? If so, instructions on how to do so would be greatly appreciated. Any alternative suggestions to doing this outside of launchpad are also welcome. If there is an exposé app for example, I would be quite willing to go that route.
    My main concern is being able to quickly (ie a touchpad gesture) expand all the open pages so I can bounce between them.
    Much thanks from a loyal Apple friend.

    Hey Eric,
    Thanks for taking the time. Unfortunately no that does not solve it. Same as swipe it will get me there and it will show separate programs spaced out. The issue I am having is that all my open word files are bunched up in a pile on top of each other. I can see the edges of each one but I want them to be separated from each other enough that I can visually identify what file is what.
    Again, thanks for trying, it is appreciated.

Maybe you are looking for

  • Full screen auto-hide feature does not work with Adobe Acrobat Reader add-on 11.0.0.379 in Firefox 17.01.

    "Full screen" menu item and its keyboard short cut F11 stop working with Acrobat Reader. The Firefox top edge border does not hide once you have moved around in the Acrobat document. Therefore it is not possible to display PDF documents in a true ful

  • 25k Limit in iTunes Match? PLEASE SOMEONE HELP!

    I have been collecting music steadily for almost 25 years now. In 2009, before selling them on eBay, I had over 2,000 CDs in my collection. At that point I ripped them all into iTunes and stored the files on an external drive. I have continued to ste

  • Developers Guide for Reports

    Hi, Is there any document available which discusses about reports development for Oracle Applications 11i?. I found developers guide which guides us in Forms and PL/SQL Development. If there are individual documents for the above three, it would be h

  • PDF Export Interactive Report

    Hello, i have a interarcite report, which is really simple (Select * from table). I'm using an interactive report to present the given data. If i want to export to pdf it works fine with a small number of rows. Using a huge number of rows the pdf fil

  • HP Pavillion g7 Notebook PC Sound Not Working

    I've gone through the troubleshooting steps listed on this page of the forums: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03257712&tmp_task=solveCategory&cc=us&dlc=en&lc... Still no sound. I really don't know what to do. The product number