"Better, faster, stupider Java"

There’s also a trust issue here: many of us - with decades of extremely good reasons - don’t trust anything that’s “bleeding edge”, because that phrase more often than not means “untested pieces of crap that sort-of manage to do something new and funky, but can’t do basic things the previous version did”. That’s the “bleeding” part of “bleeding-edge” :stuck_out_tongue:

Now, if I could trust developers, if I knew they didn’t subscribe to the MS view of software engineering (“ship it before you even know what the requirements are, if the marketing depts’ branding strategy for this quarter needs a new release of something”), it would be a different story. For instance, I upgrade nearly all debian software as soon as it’s available. Sometimes I get bitten, but 99% of the time the upgrade has been sanity checked and refused by someone else if it’s not up to a minimal level of quality (I find it sad that it’s a victory for modern software to hit “minimal” quality).

The “we removed the profiler from java 5” example I cited above is classic - I trusted Sun not to do anything as fundamentally destructive as that in the move to 1.5; maybe,I thought, maybe you’d see something like that in an alpha or early beta. Clearly, my trust was misplaced.

Hprof is out from JDK? From what subversion. IIRC I did profiling on 5.0 without problems.

[quote=“blahblahblahh,post:21,topic:25300”]
They have put the caveat on the -X options since forver, that they are subject to go away at anytime. Sun trusted you to heed the warning :). Considering Sun still ships Java with a profiler, just not the one you were using, it isn’t really that bad, is it?

[quote]They have put the caveat on the -X options since forver, that they are subject to go away at anytime. Sun trusted you to heed the warning . Considering Sun still ships Java with a profiler, just not the one you were using, it isn’t really that bad, is it?
[/quote]
Well, -Xprof is still there, but it’s broken and unusable. It’s not like the JVM reports “Hey you used -Xprof which is not there anymore, use -Xsomeotherprof instead”. No, it seems to work, but it really doesn’t.
Sure, they could have simply removed it alltogether because it’s an -X option (which would have saved me a lot of time trying to find out what the hell was going on since the 1.5 JVM), but since they didn’t, it’s fair to say that Sun broke something that many people depended on (including myself), which is a bad thing. It doesn’t change anything that it is a -X option. -X is for ‘out-of-spec’ options, not ‘lets-ship-something-buggy’ options.

What if they decide to break -Xmx, and just silently set the max heap size to maximum 32MB, no matter if you set it to 1GB using -Xmx?

Ah, I misunderstood the issue. I agree.