Our garbage problem is not new, but as the world's population continues to grow, it will become a bigger and bigger problem.
我们的垃圾问题不是新问题,但随着世界人口的持续增长,它将成为一个越来越大的问题。
Three years ago, when the clean-up started, garbage was everywhere, but this year, the teenagers had to hunt for garbage.
三年前,当清理工作刚开始时,垃圾随处可见;但今年,青少年们不得不主动去寻找垃圾。
But be careful: much of it is garbage.
但是,请注意,它们很多都只是垃圾。
Therefore, if the garbage collector runs after this line, but before line //2, the object will not be reclaimed.
因此,如果垃圾收集器在该行之后(但在行 //2之前)运行,该对象就不会被回收。
The next line indicates the same information, but denotes a full garbage collection.
第二行指示相同的信息,但表示一个完整的垃圾收集。
"It was an important experience," he said. "Peeling the labels off bottles was extremely boring, but it made me think 'Look at all that garbage."
他表示:“这是重要的体验,从瓶子上斯标签是非常的枯燥,但会使我思考‘看看所有这些垃圾,是谁制造的?’”
We were in the kitchen making a grocery list, not the kitchen where the garbage game was played, but still. Kitchens for us remain problematic.
我们在厨房里准备一个杂货清单,不是那个玩垃圾游戏的厨房,但厨房对我们仍然有着问题的意味。
Thus the garbage collector can reclaim most of the memory allocated on each loop, but it can't reclaim the arrays that are added to the list.
因此,垃圾收集器可以回收在每个循环上分配的大多数内存,但它不能回收添加到列表中的数组。
Knowing how much time your system spends in GC is all well and good, but how does more time spent doing garbage collection actually affect the performance of your system?
了解您的系统将多少时间花费在垃圾收集上,这是很有必要的,但是将过多的时间花费在垃圾收集上将会对系统的性能产生怎样的影响呢?
Such excessive memory usage does not necessarily have a performance impact, but when the JVM's garbage collection takes place, the responsiveness of the affected applications can suffer dramatically.
这种过量内存使用并不一定会影响性能,但当jvm的垃圾收集功能执行时,受影响的应用程序的响应能力将大幅降低。
But after just 30 minutes of sifting through the garbage mountain, he struck lucky when he spotted a tiny glimmer surrounded by black sludge, wedged between two brown bags.
在垃圾堆里翻找了30分钟后,他非常幸运看到黑色淤渣里微微透出一丝闪光,戒指被夹在两只棕色袋子之间。
For example, object pooling reduces the amount of garbage generated by an application but can seriously hurt garbage collection performance.
例如,对象轮询会减少应用程序生成的垃圾数量,但严重降低了垃圾收集的性能。
You don't see it, but there is a huge amount of waste, the garbage that is packed around items to get them from one country to another without breaking.
你不知道,从一个国家运往另一个国家的商品,为了防止破碎,会被一层层包装起来,而这些用来包装商品所产生垃圾就造成了巨大的浪费。
Normally, the file system operates very quickly, but when garbage collection is required, performance slows down.
一般情况下,这种文件系统非常快,但是一旦需要进行垃圾收集,性能就会慢下来。
Setting to the latter may increase the incidences of garbage collection and make more pages available, but may impact performance.
设置为后者可以提高垃圾收集的效果,让更多页面可用,但是可能影响性能。
Repeatedly creating and throwing out objects carries very little performance overhead, but holding onto existing object instances for reuse creates significant work for the garbage collector.
重复创建并丢弃对象的方法产生很小的性能开销,而持有现有对象实例以便重用的方法则为垃圾收集器增加大量的工作负担。
More generally, holding on to object references that could be discarded reduces the amount of generated garbage but tends to hurt GC.
通常,持有可以丢弃的对象引用会减少生成的垃圾数量,但是这样会损害GC。
But yes, I pick up garbage, and then I bring it home with me.
但是我把垃圾都捡起来,然后带回家。
For example, a server is not going to be generating much garbage if all of its clients are disconnected, but that doesn't mean that the server needs to be tuned.
例如,如果所有客户机都断开连接,服务器将不会生成大量垃圾,但是这并不意味着需要调整服务器。
I had gone to the beach to enjoy nature but instead I ended up picking up garbage there.
我原打算到海滩来享受自然,但最终却在那儿捡拾垃圾。
Now, I know we've had quite a few strange art mediums here at Oddity Central, from garbage to chewing gum, but excrement has to be the weirdest one yet, by a long shot.
在我们网站的有很多奇怪的艺术新闻,从垃圾到嚼过的口香糖什么都有,但是大便还是最诡异最雷人的。
In 2004 the Wrangel Island was given a status of the area of World Natural Inheritance but with one condition - to clean the territory from the garbage.
2004年,弗兰格尔岛被列入世界自然遗产地区,但条件是——清除该地区的垃圾。
'you expect your parents to have food for you, but the kitchen table and counters were just cluttered with garbage,' she says.
她说,你希望父母给你做吃的,但餐桌和橱柜上全都是垃圾。
They can make the difference between a successful data warehouse and a "data garbage dump," where gigabytes of data are stored but unusable.
这就区分了成功的数据仓库和“数据垃圾堆”,那里存储着大量的无用数据。
He was frantically searching through the garbage, but he couldn't find the elephant.
他手忙脚乱地在垃圾桶里翻着,没有看到小象。
But that doesn't mean post-menopausal women should toss their multivitamins in the garbage.
但是,这并不意味着停经后的女性们就应该就此把那些综合维生素试剂都扔到垃圾箱去。
Before going into the room, I placed a small but conspicuous piece of garbage in the walkway people would use when exiting the room.
在进房间之前,我在走廊显眼的地方放了一点垃圾。
It certainly doesn't have everything-or even most things-that I want, but I rarely feel like I'm wasting my time watching garbage.
当然它不可能有全部或者绝大多数我想要的东西,但是它从不会让我感觉把时间浪费在一些垃圾节目上。
It certainly doesn't have everything-or even most things-that I want, but I rarely feel like I'm wasting my time watching garbage.
当然它不可能有全部或者绝大多数我想要的东西,但是它从不会让我感觉把时间浪费在一些垃圾节目上。
应用推荐