Odd return behaviour

okay, consider the following example:
public class Oops {
     public static void main(String args[]){
1:          String oops;
2:          return;
3:          System.out.println(oops);
}we get compile error at 3 saying unreachable statement .. fair enough.
now, consider this:
public class Oops {
     public static void main(String args[]){
1:          String oops;
2:          if(true) return;
3:          System.out.println(oops);
}we have modified two and now there is no errors whats-so-ever.
However, the odd behaviour hecomes obvious if we comment out line 2 where we will get "variable oops might not have been initialized." ... so it would seem that it can recognize that if(true) return; will not let the program reach 3 and hence doesn't care if oops is initialized but why don't we get a similiar error as in example one?

I don't see anything bizarre about this question. What
are you referring to?Perhaps 'bizarre' was a poor choice of words. It's just that I recall silkm posting a rather similar question before (a question about how the compiler/jvm handles thing rather than what API can one use to make foo.
No, that's not a possibility. The JLS explains exactly
why this behavior occurs:
http://java.sun.com/docs/books/jls/second_edition/html/
tatements.doc.html#236365
The reason that the second example compiles is so that
you can have code that is conditionally compiled such
as debugging statements. It's not bizarre at all, it's
entirely pragmatic and practical.Yes, of course, makes sense. (Although the possibility of a compiler optimizing it out is flashed there.)

Similar Messages

  • 10.6.5 update - 27" iMac, Radeon 5750 odd graphics behaviours?

    I updated my new iMac 27" to OS 10.6.5 today and have seen some odd graphics behaviours.
    1. Dock icon for Activity Monitor becomes transparent. Running AM, hidden showing CPU history
    2. White rectangle at bottom of expanding folder (list view)
    3. OK Button blue/white check mark pattern when configuring VPN. GUI feels "slow"
    I updated using the Software Update tool; noticed these issues and re-updated using the Combo Installer; no change.
    Any ideas or suggestions? Is this just me? I have a MacBook -- no probems at all!

    N Gallagher,
    I had the problem earluer, but it got far worse with 10.6.5, however, I fixed it by updating my wacom tablet driver.
    It wasn't the system update, but an old driver causing the problem.
    Resetting PRAM, SMC and permissions and all the other standard drivel people post is nice sentiments, but it should be clear that the problem is something else because that solution hasn't solved the problem for anyone.
    I have the sneaky suspicion that it's old flash and old drivers for most people.
    See my original post here: http://discussions.apple.com/thread.jspa?messageID=12570261#12570261
    BUT. If you have a Wacom tablet, for to their website and download the latest driver from September 10, 2010.
    That's all it took for all my graphics problems to go away.

  • Odd software behaviour Lumia 720

    I'm the proud owner of a Lumia 720 since July. I'm facing some odd software behaviour recently though. Without notice or any pattern, the current app changes to another one, sometimes four or five times while my phone vibrates like mad. It happens two, or three times a week, and there's no significant pattern but this weird "phone on speed" behaviour always ends in the Bing app. I thought rebooting was the answer but it doesn't. Does someone has any clue?

    Ugura,
    Thanks for your reply. I adjusted the touch sensitivity but that did not do the trick. Last night, I was already sleeping, suddenly my Lumina 720 played a song that I played before many weeks ago. That was quite odd too. With my phone connected to the charger, me asleep and there was that terrible noise from an old U2-song... And I could not stop it, nor could I lower the volume so I had to turn on my computer to find the keys to a soft reset and it was in the middle of the night.
    So I waited till this morning to reset my phone to it's factory-settings. Much to my annoyance- without any external app loaded, the phone went on nuts again. This time, while vibrating taking numerous screen shots... It's like my phone is haunted. A little poltergeist in it. I need some high-tec exorcism I'm afraid.
    Hope someone can help me further!

  • Odd Firefox Behaviour

    I have been trying to develop a small, simple filter for an xml-based artist database and whilst I can get it to work without issue in Safari I seem to be having some odd problems with Firefox ... both on a Mac (Safari 4.04 and Firefox 3.6)
    Page - for reference - is here: http://artperth.com/01-artistsfilter.html
    Ideally I'm trying to get it so a click highlights rather than extracts particular artists but my head has been pulled away by these problems.
    Essentially in Firefox nothing is displayed in regards to the dynamic elements.
    I had thought it might be a problem with my code but discovered an anamoly with the supplied samples.
    The classic example is both online (http://labs.adobe.com/technologies/spry/samples/data_region/DataSetObserver.html) and in the set of files you can download (Spry_1_6_1_022408).
    The online version functions without issue whereas the offline version just returns blanks in Firefox. Both function without issue in Safari.

    Hi... that explains the local part at least - bit nervous about mucking around with such things - but the http://artperth.com/01-artistsfilter.html is also returning blanks online - at my end at least. I had thought it might be a mac/firefox thing but then thought perhaps the online samples use a different set of files.

  • Odd SocketPermission behaviour

    Hi,
    I've been trying to use SocketPermissions to restrict the IP addresses from which a ServerSocket will accept a connection and am getting some wierd behaviour.
    The ServerSocket will reject and close the first connection attempt from a disallowed address. Subsequent connections from the same host (using telnet) are not rejected/accepted or closed - they just 'hang there'.
    The SecurityManager is also really slow at deciding whether a connection can be accepted or rejected.
    Is this usual ? Or is there a way to setup SecurityManager to behave 'nicely' ?
    regards
    Tony Seebregts

    Just spent about an hour playing around with various things and now it seems to have resolved itself. Odd... Marking this topic as answered now.

  • Odd XML behaviour

    Hello Again,
    I'm having an odd problem that I don't fully understand and
    I'm hoping for some insight. Basically if I have an XML object
    declared like
    var xml:XML = <template label="test" />;
    or
    var xml:XML = <tempate label="test"></template>;
    and then use
    Alert.show(xml);
    the alert is an empty box where I was expecting to see the
    single XML node, but
    var xml:XML = <template label="test"><tab label="my
    tab" /></template>;
    and then call the same Alert.show it displays the xml as I
    expect. For some reason when the xml only has one node flex seems
    to think it's empyt? Or at least that's what I'm led to believe...
    Any thoughts on this? I'm sorta stuck for the night trying to
    figure out how to get that value to display.
    </zach>

    Try using Alert.show(xml.toXMLString()). The toString() on
    XML will return the text value of the xml, which in your case is
    nothing, there is NO text value.
    -brent

  • Odd Quicklook behaviour

    Running mavericks 10.9.2 have noticed a small quirk in the behaviour on one of my installs.
    Selecting a group of images (mostly jpegs, sometimes tiffs) and opening quicklook. scrollling through
    and quite randomly some of the images will momentarily flash up then turn blank, if you cycle through to the start and continue
    sometimes those that didn't show, will show and vice versa. if you select the grid option then all will show.
    all images are in either sRGB or RGB in the most part 8 bit, and all without layers or alpha channels.
    there is another hard drive on my machine that has the same version of mavericks
    and does not display this behaviour
    I have also removed the quick look preferences from the users library and restarted but the behaviour continues.
    so i was wondering if anyone has come across this and if they have any ideas as to why this might be happening
    any known issues with third party apps etc.
    any advice would be gratefully received
    thanks in advance.

    Just spent about an hour playing around with various things and now it seems to have resolved itself. Odd... Marking this topic as answered now.

  • Odd SOAMANAGER behaviour

    Ok, I just managed to get my old Dell D610 replaced, but this new laptop has some odd behaviour with some Solman transactions.  I can get into Solman Web Workcenter no problem, but when I try to open SOAMANAGER, I get one blank IE8 window (looks like it's supposed to be hidden), and then a few seconds later a second normal looking IE8 window opens, with a partial URL.  This appears to be a problem with my local profile - I can log in to someone else's machine and it'll work, and a coworker can log into my laptop and it'll also work.
    This is the URL it directs the second window to.. https://<server>.<domain>.com/sap/public/myssocntl?sap-client=100
    whereas this is where it should be going.  https://<server.domain>.com/sap/bc/webdynpro/sap/appl_soap_management?sap-client=100&sap-language=EN
    Anyone have any ideas here?  If I call my help desk they're going to be clueless on this one..  lol..
    thanks.
    bk

    Maybe you can rename your home folder in c:\documents and settings and login again - thereby recreating your local profile.

  • Odd JMS Behaviour

    With our application deployed to a client, we have been experiencing some odd behaviour with JMS in Oracle 10g (OC4J 9.0.4).
    The application posts multiple non-transactional messages (roughly 400-500Kb per message) to a queue, which an MDB processes correctly everywhere but the client site. At the client site, only the first message in retrieved from the queue by the MDB, as if to suggest the queue was only capable of holding one message and the other messages are not being added or are being dumped. No exceptions are being thrown, which isn't helpnig diagnose the problem.
    The client site has a similar environment to our internal dev/qa environments - Red Hat AS 3.0 server, v1.4.2 jvm, same OC4J and application config.
    Has anyone else experienced this kind of behaviour with JMS?

    Just spent about an hour playing around with various things and now it seems to have resolved itself. Odd... Marking this topic as answered now.

  • Really odd module behaviour

    This is very strange.
    First, this works ok:
    dbxml> setNamespace x http://www.example.com
    Binding x -> http://www.example.com
    dbxml> query 'declare function x:foo() as element() {<foo><bar></bar></foo>}; x:foo()'
    1 objects returned for eager expression 'declare function x:foo() as element() {<foo><bar></bar></foo>}; x:foo()'
    dbxml> print
    <foo><bar/></foo>
    Now lets do the same thing in a module:
    doug@andari:tmp$ cat > x.xquery
    module namespace x = "http://www.example.com";
    declare function x:foo() as element() { <foo><bar></bar></foo>};
    doug@andari:tmp$ dbxml
    dbxml> setBaseUri "file:///home/doug/tmp/"
    Base URI = file:///home/doug/tmp/
    dbxml> query 'import module namespace x = "http://www.example.com" at "x.xquery"; x:foo()'
    1 objects returned for eager expression 'import module namespace x = "http://www.example.com" at "x.xquery"; x:foo()'
    dbxml> print
    <foo/>
    That's definitely wrong. I'm getting the same behaviour with all sorts of modules that worked perfectly well on 2.3.10. Since the forums aren't full of complaints, I'm guessing this is only affecting me. I've built the software on two machines though, and I get the same behaviour.
    Any ideas how to track down what's causing this?
    Cheers,
    Doug.

    Hi John,
    I applied the patch and it fixed the issue. Thanks.
    But I have encountered another issue related to import module. I have written up a simple test case to illustrate the problem.
    I created two files, test01.xqm and test02.xqm, and put them in the same directory.
    ======= test01.xqm =========
    module namespace test01="http://www.mydomain.com/xquery/modules/test01";
    import module namespace test02="http://www.mydomain.com/xquery/modules/test02" at "test02.xqm";
    declare function test01:main() as xs:string?
    $test02:myString
    declare function test01:main2() as xs:string?
    test02:main()
    ========= test02.xqm ========
    module namespace test02="http://www.mydomain.com/xquery/modules/test02";
    declare variable $test02:myString as xs:string := "test02 has a string";
    declare function test02:main() as xs:string?
    $test02:myString
    ==========================
    dbxml> setBaseUri "file:///home/lap/bdbxml/debug/"
    Base URI = file:///home/lap/bdbxml/debug/
    dbxml> query ' import module namespace test01="http://www.mydomain.com/xquery/modules/test01" at "test01.xqm"; test01:main() '
    stdin:2: query failed, Error: A variable called {http://www.mydomain.com/xquery/modules/test02}myString does not exist [err:XPST0008], file:///home/lap/bdbxml/debug/test01.xqm:7:3
    dbxml> query ' import module namespace test01="http://www.mydomain.com/xquery/modules/test01" at "test01.xqm"; test01:main2() '
    stdin:3: query failed, Error: A variable called {http://www.mydomain.com/xquery/modules/test02}myString does not exist [err:XPST0008], file:///home/lap/bdbxml/debug/test02.xqm:7:3
    dbxml> query ' import module namespace test02="http://www.mydomain.com/xquery/modules/test02" at "test02.xqm"; test02:main() '
    1 objects returned for eager expression ' import module namespace test02="http://www.mydomain.com/xquery/modules/test02" at "test02.xqm"; test02:main() '
    dbxml> print
    test02 has a string
    =================================
    Looks like from test01.xqm, it can see test02:main() but not $test02:myString.
    Any advice would help. Thanks!
    --Lapinski                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Odd gmail behaviour when using mail.app

    Hello there,
    Ever since upgrading to Mavericks, I've been experiencing odd behaviour when sending messages from my gmail account in mail.app. I send a message and up to ten copies of the message appear in mail.app's trash.
    Does anyone know what might be the cause of this?
    many thanks,
    Chidi

    this is a setting in gmail that interfer with mail.app
    the setting is that mail.app is that when you type a mail it will auto save it while you are typing. and gmail will delete the saved onece and the mail.app will create a new all the time
    duno how to turn this off, try by rebuilding the mailbox in mail.app

  • Odd Startup behaviour and cannot access tools- options menu

    As of this morning my installation of LV8 will not display the normal startup dialog box (allowing you to open existing VIs or open a new one), but simply opens a new VI immediately.  If I close this new NI then again instead of returning to the start up dialog it opens a second new (blank) VI.    Furthermore I cannot open the Tools->option menu from within a VI front panel.
    I've tried repairing the LV installation and when this didn't work I went for a full remove and reinstall - still no joy!
    I've also check that this is not user specific, so that when I log in as a different user on the same PC I get the same behaviour
    Help - please !!
    Solved!
    Go to Solution.

    Hi AMHurrel,
    This sounds rather strange. 
    Did you change anything on your setup?
    When you say you did a full remove and reinstall, how?
    These are the steps I would follow:
    The following procedure will remove the National Instrument Software:
    1.     Turn off the computer and physically remove or unplug all NI hardware that you have installed on your system.
        This includes anything that is PCI-, ISA-, USB-, 1394-, or ethernet-based.
    2.     Turn the computer on and go through Add/Remove Programs (START » SETTINGS » CONTROL PANEL » Add/Remove Programs)
        and remove everything NI-related. Generally, if you can remember, it is best to uninstall things in
        the reverse order in which they were installed. For example, if you installed LabVIEW, then NI-DAQ, and then the
        Internet Developers Toolkit for LabVIEW, you should uninstall the Internet Developers Toolkit first,
        then NI-DAQ, and then LabVIEW last.
    3.     After everything has been removed (do not be concerned at this point if an item still shows up in the
        Add/Remove Programs list after you have removed it), close all programs and restart your computer.
    4.    Go to START button of your operating system, choose RUN and type "regedit". This will open the Registry
        Editor window. Go to the Registry Menu and choose Export Registry File. Select "All" for the export range,
        and select a file name. This creates a backup of the Registry in case a mistake is made when deleting the keys.
    5.     Remove the following registry components from the Windows Registry:
        HKEY_CURRENT_USER\Software\National Instruments Delete the entire tree!
        HKEY_LOCAL_MACHINE\Software\National Instruments Delete the entire tree!
        HKEY_LOCAL_MACHINE\System\CurrentControlSet\Enum\PCI\ or \ISA and delete registry entries containing any
        keys with 1093 in them.
        Do not worry if any of these trees are not listed. Continue with the remainder of the process .
        Note: You may need to modify security policies. In Windows 2000/98/95/NT, go to [regedt32] then
        Security>>Permissions. In Windows XP you can modify security options using Edit>>Permissions in the
        Registry Editor (regedit).
    6.     Close regedit.
    7.     Make sure that you do not have any of your own VIs or other files saved in the "C:\VXIpnp",
        "C:\Program Files\National Instruments", or "C:\WINDOWS\nidaq" folders. If you do, copy them to a
        different location. If you are concerned about keeping old virtual channels and your SCXI setup intact,
        then backup the "C:\WINDOWS\niconfig.daq" file, too. Delete all folders and files mentioned above.
        Note: If you have Windows NT/2000, replace "C:\Windows" with "C:\WINNT" in the paths listed above.
    8.     Save the attached file msiBlast.zip to your desktop.
        a) Extract the file msiBlast.exe from the zip archive.
        b) Double click on the downloaded msiBlast.exe file to run the executable.
    c) Choose the Show NI Installers Only selection.
    d) Using (Ctrl+Left Mouse Click) select all National Instruments Software that appears in MSIBlast.
    e) Press the Uninstall button. This will uninstall all of the National Instruments MSI Registry entries.
    f) Optional:
    The Repair option will open the National instruments Installer Program and run the repair option within the installer.
    Maintenance Mode will open the Installer Program and allow the user to modify the installation. To open the installer do not enter anything in the Command Line Arg? Dialog box.
    9.     Reboot your computer.
    10.     You should be ready to install your software. For the cleanest possible install, first install all of your
        application development software, such as LabVIEW, Measurement Studio, etc. Do a custom install, so that you can
        install just the application WITHOUT ANY DRIVERS. Reboot your PC when requested after each install.
        Even if the installer does not tell you to reboot, it would probably be a good idea to do so anyway.
        Now install your driver software and follow the associated user manuals. Some older non Plug-n-Play hardware
        must be installed before the driver. Download the latest versions of the drivers that support your hardware
        from our Drivers and Updates software library (link below), and install them one-by-one, rebooting after each
        install.
    11.     Finally, shut down and re-install your hardware. When you boot back up, it should be detected in MAX.
    NI Drivers Link :  -  http://www.ni.com/softlib.nsf
    **Attached is msiBlast.
    ***Do you get an error messages?
    Let me know what you think,
    Kind Regards
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Odd gc behaviour?

    Hi,
    I'm working on a web application (Jetty, running inside JBoss 3.2.1, Redhat Linux, dual Xeon CPUs, hotspot 1.4.2_04 or sometimes 1.4.2_05) whose gc behaviour seems rather odd. I have been watching visualgc while the application is under load and have observed the following:
    Using the default collector:
    * I have turned off explicit GCs
    * Eden is about 400M and is collected whenever it fills up. Under the load test I've been looking at this occurs about every 30 seconds This collection occurs very quickly (normally a few milliseconds). There will normally be around 2M of garbage at the end of that collection which goes straight into the old generation (maybe via s0 and s1, depending on the settings I'm using)
    * The old generation is also about 400M. However, collections of the old generation happen almost every time that a collection Eden occurs, even though the old generation is very far from full. (In the test I've been looking it seems to have a "steady state" of around 100M). Collections of old take a relatively long time, normally around 1 or 2 seconds. This is an unacceptably long time for our application.
    This seems very odd to me as I wouldn't expect the old generation to be collected every time Eden fills up. For our application it would be perfectly acceptable for the old generation to fill up slowly each time Eden is collected, and then for one big GC to occur once that filled up (which would once every hour or two). But re-collecting the same bit of memory in the old generation twice a minute (at a couple of times per minute) is just no good. I don't understand why the old generation is collected whenever Eden is collected.
    I have tried the concurrent old-generation collector and this only made the problem worse. I also tried setting the old-generation threshold for the concurrent collector to 90% and this made no different - the old generation was still collected every time that Eden filled up.
    Strangely enough, when using the parallel (high throughput) collector for Eden, the problem almost went away. I say "almost" because although no collections occured in the old generation occurred until the old generation had filled completely, the very first old generation collection (which sent it back to its "natural" 100M ") seemed to send it back to its old habits: an old generation collection for every Eden collection.
    Does anybody have any idea what might be going on? Could there be something weird about our application? Am I missing some crucial GC option? Have I stumbled across a GC bug? Do I just not understand hwo this stuff all works?
    Any pointers much appreciated, thanks for your time.
    David

    Hi,
    Thanks for responding.
    I started the vm with the following options:
    -Dsun.net.client.defaultConnectTimeout=15000 -Dsun.net.client.defaultReadTimeout=15000 -XX:+DisableExplicitGC -XX:+UsePerfData -Xmn512m -Xms1024m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m -XX:MaxTenuringThreshold=0 -XX:+PrintHeapAtGC -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution
    (Note that I've set -XX:MaxTenuringThreshold=0 for this test so I could reproduce the problem more quickly. If I set it to something smaller then the problem still occurs, just less frequently).
    I've got loads and loads of output from the GC trace (I ran a load test on it) so I'll just include an excerpt containing some of the full GCs that I am not expecting. Watching the proceedings in visualgc, I noted that most of the GCs I've included below involved a collection of the old generation (for reasons I cannot fathom). However, they are not noted as "Full GC" in the trace. Any help in understanding this much appreciated:
    722.391: [GC  {Heap before GC invocations=72:
    Heap
    def new generation   total 471872K, used 419455K [0x44950000, 0x64950000, 0x64950000)
      eden space 419456K,  99% used [0x44950000, 0x5e2efff8, 0x5e2f0000)
      from space 52416K,   0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
      to   space 52416K,   0% used [0x61620000, 0x61620000, 0x64950000)
    tenured generation   total 524288K, used 103760K [0x64950000, 0x84950000, 0x84950000)
       the space 524288K,  19% used [0x64950000, 0x6aea4338, 0x6aea4400, 0x84950000)
    compacting perm gen  total 65536K, used 26031K [0x84950000, 0x88950000, 0x8c950000)
       the space 65536K,  39% used [0x84950000, 0x862bbdb0, 0x862bbe00, 0x88950000)
    722.392: [DefNew
    Desired survivor size 26836992 bytes, new threshold 0 (max 0)
    : 419455K->0K(471872K), 0.0272900 secs] 523216K->105143K(996160K) Heap after GC invocations=73:
    Heap
    def new generation total 471872K, used 0K [0x44950000, 0x64950000, 0x64950000)
    eden space 419456K, 0% used [0x44950000, 0x44950000, 0x5e2f0000)
    from space 52416K, 0% used [0x61620000, 0x61620000, 0x64950000)
    to space 52416K, 0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation total 524288K, used 105143K [0x64950000, 0x84950000, 0x84950000)
    the space 524288K, 20% used [0x64950000, 0x6affdfc8, 0x6affe000, 0x84950000)
    compacting perm gen total 65536K, used 26031K [0x84950000, 0x88950000, 0x8c950000)
    the space 65536K, 39% used [0x84950000, 0x862bbdb0, 0x862bbe00, 0x88950000)
    } , 0.0280260 secs]
    734.030: [GC  {Heap before GC invocations=73:
    Heap
    def new generation   total 471872K, used 419456K [0x44950000, 0x64950000, 0x64950000)
      eden space 419456K, 100% used [0x44950000, 0x5e2f0000, 0x5e2f0000)
      from space 52416K,   0% used [0x61620000, 0x61620000, 0x64950000)
      to   space 52416K,   0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation   total 524288K, used 105143K [0x64950000, 0x84950000, 0x84950000)
       the space 524288K,  20% used [0x64950000, 0x6affdfc8, 0x6affe000, 0x84950000)
    compacting perm gen  total 65536K, used 26033K [0x84950000, 0x88950000, 0x8c950000)
       the space 65536K,  39% used [0x84950000, 0x862bc538, 0x862bc600, 0x88950000)
    734.031: [DefNew: 419456K->419456K(471872K), 0.0000370 secs]734.031: [Tenured: 105143K->106385K(524288K), 1.2275840 secs] 524599K->106385K(996160K) Heap after GC invocations=74:
    Heap
    def new generation total 471872K, used 0K [0x44950000, 0x64950000, 0x64950000)
    eden space 419456K, 0% used [0x44950000, 0x44950000, 0x5e2f0000)
    from space 52416K, 0% used [0x61620000, 0x61620000, 0x64950000)
    to space 52416K, 0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation total 524288K, used 106385K [0x64950000, 0x84950000, 0x84950000)
    the space 524288K, 20% used [0x64950000, 0x6b134458, 0x6b134600, 0x84950000)
    compacting perm gen total 65536K, used 26033K [0x84950000, 0x88950000, 0x8c950000)
    the space 65536K, 39% used [0x84950000, 0x862bc538, 0x862bc600, 0x88950000)
    } , 1.2283850 secs]
    747.317: [GC  {Heap before GC invocations=74:
    Heap
    def new generation   total 471872K, used 419455K [0x44950000, 0x64950000, 0x64950000)
      eden space 419456K,  99% used [0x44950000, 0x5e2efff0, 0x5e2f0000)
      from space 52416K,   0% used [0x61620000, 0x61620000, 0x64950000)
      to   space 52416K,   0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation   total 524288K, used 106385K [0x64950000, 0x84950000, 0x84950000)
       the space 524288K,  20% used [0x64950000, 0x6b134458, 0x6b134600, 0x84950000)
    compacting perm gen  total 65536K, used 26033K [0x84950000, 0x88950000, 0x8c950000)
       the space 65536K,  39% used [0x84950000, 0x862bc718, 0x862bc800, 0x88950000)
    747.317: [DefNew: 419455K->419455K(471872K), 0.0000380 secs]747.317: [Tenured: 106385K->107602K(524288K), 1.2445540 secs] 525841K->107602K(996160K) Heap after GC invocations=75:
    Heap
    def new generation total 471872K, used 0K [0x44950000, 0x64950000, 0x64950000)
    eden space 419456K, 0% used [0x44950000, 0x44950000, 0x5e2f0000)
    from space 52416K, 0% used [0x61620000, 0x61620000, 0x64950000)
    to space 52416K, 0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation total 524288K, used 107602K [0x64950000, 0x84950000, 0x84950000)
    the space 524288K, 20% used [0x64950000, 0x6b2649f8, 0x6b264a00, 0x84950000)
    compacting perm gen total 65536K, used 26033K [0x84950000, 0x88950000, 0x8c950000)
    the space 65536K, 39% used [0x84950000, 0x862bc718, 0x862bc800, 0x88950000)
    } , 1.2453910 secs]
    761.940: [GC  {Heap before GC invocations=75:
    Heap
    def new generation   total 471872K, used 419456K [0x44950000, 0x64950000, 0x64950000)
      eden space 419456K, 100% used [0x44950000, 0x5e2f0000, 0x5e2f0000)
      from space 52416K,   0% used [0x61620000, 0x61620000, 0x64950000)
      to   space 52416K,   0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation   total 524288K, used 107602K [0x64950000, 0x84950000, 0x84950000)
       the space 524288K,  20% used [0x64950000, 0x6b2649f8, 0x6b264a00, 0x84950000)
    compacting perm gen  total 65536K, used 26033K [0x84950000, 0x88950000, 0x8c950000)
       the space 65536K,  39% used [0x84950000, 0x862bc7a8, 0x862bc800, 0x88950000)
    761.941: [DefNew: 419456K->419456K(471872K), 0.0000370 secs]761.941: [Tenured: 107602K->109018K(524288K), 1.2185450 secs] 527058K->109018K(996160K) Heap after GC invocations=76:
    Heap
    def new generation total 471872K, used 0K [0x44950000, 0x64950000, 0x64950000)
    eden space 419456K, 0% used [0x44950000, 0x44950000, 0x5e2f0000)
    from space 52416K, 0% used [0x61620000, 0x61620000, 0x64950000)
    to space 52416K, 0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation total 524288K, used 109018K [0x64950000, 0x84950000, 0x84950000)
    the space 524288K, 20% used [0x64950000, 0x6b3c6960, 0x6b3c6a00, 0x84950000)
    compacting perm gen total 65536K, used 26033K [0x84950000, 0x88950000, 0x8c950000)
    the space 65536K, 39% used [0x84950000, 0x862bc7a8, 0x862bc800, 0x88950000)
    } , 1.2193330 secs]
    777.527: [GC  {Heap before GC invocations=76:
    Heap
    def new generation   total 471872K, used 419456K [0x44950000, 0x64950000, 0x64950000)
      eden space 419456K, 100% used [0x44950000, 0x5e2f0000, 0x5e2f0000)
      from space 52416K,   0% used [0x61620000, 0x61620000, 0x64950000)
      to   space 52416K,   0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation   total 524288K, used 109018K [0x64950000, 0x84950000, 0x84950000)
       the space 524288K,  20% used [0x64950000, 0x6b3c6960, 0x6b3c6a00, 0x84950000)
    compacting perm gen  total 65536K, used 26034K [0x84950000, 0x88950000, 0x8c950000)
       the space 65536K,  39% used [0x84950000, 0x862bc998, 0x862bca00, 0x88950000)
    777.527: [DefNew: 419456K->419456K(471872K), 0.0000390 secs]777.527: [Tenured: 109018K->93469K(524288K), 1.4284740 secs] 528474K->93469K(996160K) Heap after GC invocations=77:
    Heap
    def new generation total 471872K, used 0K [0x44950000, 0x64950000, 0x64950000)
    eden space 419456K, 0% used [0x44950000, 0x44950000, 0x5e2f0000)
    from space 52416K, 0% used [0x61620000, 0x61620000, 0x64950000)
    to space 52416K, 0% used [0x5e2f0000, 0x5e2f0000, 0x61620000)
    tenured generation total 524288K, used 93469K [0x64950000, 0x84950000, 0x84950000)
    the space 524288K, 17% used [0x64950000, 0x6a497778, 0x6a497800, 0x84950000)
    compacting perm gen total 65536K, used 26032K [0x84950000, 0x88950000, 0x8c950000)
    the space 65536K, 39% used [0x84950000, 0x862bc1a8, 0x862bc200, 0x88950000)
    } , 1.4292680 secs]
    Thanks for your help,
    David

  • Files Uploaded using Mapped Drive (UNC) to SharePoint Document library Putting a copy in Recycle Bin , odd SharePoint Behaviour

    Hello All,
    One of my client reported a strange behaviour.
    Client mapped SharePoint document library to local share(UNC, NetWork Map Drive). Opened MS Word on local machine ,saved it to the share on his local machine. The document is saved successfully to SharePoint document library. But at the same time he can
    see a file with same name in Recycle bin and the size of the document in Recycle bin is <1k.
    Does any one know whether it is expected behaviour, why SharePoint putting this 1k file in Recycle bin?
    I tried the same thing on my Dev Environment for both SharePoint 2010 and 2013, in both environments the behaviour is same as my client experience.
    I have seen in forums some other people also experiencing this odd behaviour, but no one knows why.
    any info on this much appreciated.
    Regards,
    Andrew

    Hi Andrew,
    i tried in my environment for 2010 and 2013. The issue doesn't occur.
    Here is what i did.
    1, Create a new mapped drive(\\servername\DavWWWRoot\Shared Documents) for document library
    2, New a Word doc and input some string, save in the mapped drive.
    3, The doc exists in the document library, but no file in Recycle Bin.
    Did i miss something?
    Regards,
    Tom
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to
    other community members reading the thread.

  • Odd display behaviour

    I just had something odd happen to my macbook display and I'm wondering if it's a defect in Leopard, the display hardware or some weird interplay between my programs.
    I had nine open applications at the time: firefox, thunderbird, terminal, finder, preview, aquamacs, active timer, slife and MS word for mac. While I was reading a pdf in preview, i noticed a small light pink circle (only noticable against the bright white empty margin of the pdf paper I was reading), about 1 cm in diameter. At first I thought it was a smudge on the screen (from what, I don't know), because when i scrolled it stayed put. so i tried to wipe it away, and then I realized it wasn't on the surface of the screen. It also remained when I switched into firefox and there was white background on the webpage that was up. Then, when I switched into thunderbird, where there is a blue tinted background to the folder tree, the pinkish circle disappeared, and in it's place was a tiny white rectangle, about 2mm by 3mm.
    At first I worried it was a dead pixel spot on my display, since it seemed to remain in the same place no matter which programs I switched into, unless it was covered with a white spot (then it reverted back to a pinkish circle). I put my macbook to sleep and woke it up again (hoping it would reset my display). I was just contemplating rebooting my macbook when I noticed the tiny rectangle "jump". It jumped about an inch everytime my mouse cursor got near it. After jumping several times (while I tried to click on it) it eventually disappeared altogether, and I haven't seen it in the past hour or so.
    I'm new to mac, but I've been using PCs for a while, and were this a pc, I'd be immediately convinced I had a virus. But I understand that macs are not subject to most if not all viruses. So, does anyone know what might have just happened to me?

    Cisco has finally figured out the issue.
    The problem was in description tag there was an ampersand sign "R&D1" and "R&D2" when we removed it the phones started working fine.
    I feel like I'm Cisco's beta tester on a daily basis. These are mature devices running on mature software, how do things like this slip through there cracks?!

Maybe you are looking for